Skip to content

Commit bff88d1

Browse files
AzizCode92wfvining
authored andcommitted
Add project urls to setup.py for pypi page (pvlib#1119)
* Update setup.py * Update setup.py * add project_urls * Update v0.8.1.rst * Update v0.8.1.rst
1 parent 82cccd2 commit bff88d1

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
@@ -79,6 +79,12 @@
7979
'python_requires': '>=3.6'
8080
}
8181

82+
PROJECT_URLS = {
83+
"Bug Tracker": "https://github.com/pvlib/pvlib-python/issues",
84+
"Documentation": "https://pvlib-python.readthedocs.io/",
85+
"Source Code": "https://github.com/pvlib/pvlib-python",
86+
}
87+
8288
# set up pvlib packages to be installed and extensions to be compiled
8389
PACKAGES = ['pvlib']
8490

@@ -115,5 +121,6 @@
115121
maintainer_email=MAINTAINER_EMAIL,
116122
license=LICENSE,
117123
url=URL,
124+
project_urls=PROJECT_URLS,
118125
classifiers=CLASSIFIERS,
119126
**setuptools_kwargs)

0 commit comments

Comments
 (0)