distutils 

Send to Kindle
home » snippets » python » distutils



Bag

# Build and keep source tree clean
python setup.py build --build-base=/tmp/build-foo-1.0.0

# Create a source distribution package for installation elsewhere.
python setup.py sdist

# What types of binary distributions are supported?
python setup.py bdist --help-formats

# Build rpm.
python setup.py bdist_rpm
#
# Build windows .exe setup file.
python setup.py bdist_wininst