Skip to content

Commit beb9775

Browse files
phildinincoghlan
authored andcommitted
Document project_urls as an option to setup.py (#441)
`project_urls` is an allowed option to `setup()` that provides a really nice place for maintainers to add bug tracker or funding URLs. The hope is that by documenting the usage, maintainers will be encouraged to add more useful URLs to their setup.py
1 parent 6e8c33f commit beb9775

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎source/tutorials/distributing-packages.rst‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,24 @@ keywords
299299
List keywords that describe your project.
300300

301301

302+
project_urls
303+
~~~~~~~~~~~~
304+
305+
::
306+
307+
project_urls={
308+
'Documentation': 'https://packaging.python.org/tutorials/distributing-packages/',
309+
'Funding': 'https://donate.pypi.org',
310+
'Say Thanks!': 'http://saythanks.io/to/example',
311+
'Source': 'https://github.com/pypa/sampleproject/',
312+
'Tracker': 'https://github.com/pypa/sampleproject/issues',
313+
},
314+
315+
List additional relevant URLs about your project. This is the place to link to
316+
bug trackers, source repositories, or where to support package development.
317+
The string of the key is the exact text that will be displayed on PyPI.
318+
319+
302320
packages
303321
~~~~~~~~
304322

0 commit comments

Comments
 (0)