uses for setup.cfg and extracting data from it

C

Chris Withers

Hi All,

Do people generally source control their package's setup.cfg?

http://docs.python.org/distutils/configfile.html sort of implies it
should be editable by the person installing the package, but I've never
personally used a package where that's the case...

Assuming the distutils docs are out of date and this file is really
"owned" by the package maintainer, how do I extract information from it
in setup.py (and elsewhere for that matter!)

I'm looking for somewhere consistent to store the following for all my
packages:

- mailing lists url

- issue tracker url

- change log url

- documentation url

....such that I can generate a sensible long_description for use on PyPI
but also such that I can include the information in the Sphinx docs...

cheers,

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top