Wednesday, May 11, 2016

pip and distutils setup.py cheatsheet

Download source for version 2.1:
pip download somepackage==2.1
Make a source distribution and stick it in another directory:
python setup.py sdist --dist-dir="${HOME}/dist-out"
Build wheels:
python setup.py bdist_wheel
you'll find them under dist/

No comments: