Hi,

is there a way for python 2.7 to write something like:  

setup.py:

    from distutils.core import setup
    setup()

setup.cfg:

    [metadata]
    name=foo
    version=0.1


and get on the cmdline:

    python setup.py --name
    foo


in distutils2 this was possible. Has python 2.7 stdlib distutils similar
capabilities? May i use the [global] section? (as for now i only get
errors trying that.) Or should i use the [metadata] command to implement
it myself?
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to