Skip to content

Commit 926d2f9

Browse files
authored
Add project urls to setup.py for pypi page (#1119)
* Update setup.py * Update setup.py * add project_urls * Update v0.8.1.rst * Update v0.8.1.rst
1 parent 6e936f5 commit 926d2f9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/sphinx/source/whatsnew/v0.8.1.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Documentation
4949
(:issue:`1055`, :pull:`1075`)
5050
* Add gallery example about backtracking on sloped terrain. (:pull:`1077`)
5151
* Add toggle button for code prompts to make copying code easier (:pull:`1096`)
52+
* Add project urls to setup.py for pypi page (:pull:`1119`)
5253

5354
Requirements
5455
~~~~~~~~~~~~
@@ -62,3 +63,5 @@ Contributors
6263
* Cliff Hansen (:ghuser:`cwhanse`)
6364
* Will Vining (:ghuser:`wfvining`)
6465
* Michael Jurasovic (:ghuser:`jurasofish`)
66+
* Aziz Ben Othman (:ghuser:`AzizCode92`)
67+

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
'python_requires': '>=3.6'
7474
}
7575

76+
PROJECT_URLS = {
77+
"Bug Tracker": "https://github.com/pvlib/pvlib-python/issues",
78+
"Documentation": "https://pvlib-python.readthedocs.io/",
79+
"Source Code": "https://github.com/pvlib/pvlib-python",
80+
}
81+
7682
# set up pvlib packages to be installed and extensions to be compiled
7783
PACKAGES = ['pvlib']
7884

@@ -109,5 +115,6 @@
109115
maintainer_email=MAINTAINER_EMAIL,
110116
license=LICENSE,
111117
url=URL,
118+
project_urls=PROJECT_URLS,
112119
classifiers=CLASSIFIERS,
113120
**setuptools_kwargs)

0 commit comments

Comments
 (0)