[Distutils] specify available build commands

chris cdcasey at gmail.com
Tue Aug 12 16:04:44 CEST 2008


Is there a way in distutils / setuptools to list the available build
commands via porperty or function?

Specifically, I want to be able to add a configuration and build some
classes only if one of these commands is specified.

python setup.py build <----- confuguration added
python setup.py sdist bdist_egg <----- confuguration added
python setup.py sdist <----- confuguration not added

Maybe there's a better way to do it.

-Chris


More information about the Distutils-SIG mailing list