uses for setup.cfg and extracting data from it

Discussion in 'Python' started by Chris Withers, Sep 9, 2009.

  1. 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

    --
    Simplistix - Content Management, Batch Processing & Python Consulting
    - http://www.simplistix.co.uk
     
    Chris Withers, Sep 9, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike Meyer

    distutils setup.cfg question.

    Mike Meyer, Nov 19, 2004, in forum: Python
    Replies:
    2
    Views:
    688
    Mike Meyer
    Nov 19, 2004
  2. Alexandre Guimond

    libraries options not split in setup.cfg

    Alexandre Guimond, Oct 19, 2006, in forum: Python
    Replies:
    0
    Views:
    263
    Alexandre Guimond
    Oct 19, 2006
  3. Chris Shenton
    Replies:
    1
    Views:
    1,477
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Aug 24, 2007
  4. solid

    XML Schema and CFG

    solid, Jan 2, 2008, in forum: XML
    Replies:
    2
    Views:
    651
    Joseph Kesselman
    Jan 3, 2008
  5. Jasiu

    version in setup.cfg

    Jasiu, Feb 9, 2009, in forum: Python
    Replies:
    2
    Views:
    301
    Jasiu
    Feb 10, 2009
Loading...

Share This Page