June 2017
Beginner
352 pages
8h 39m
English
Another useful feature of setup() is that it can create various types of "distribution" formats. It will take all of the modules you've specified and bundle them up into packages that are easy to distribute to others. You can do this with the sdist command (which is shorthand for 'source distribution'):
(palindrome_env)$ python setup.py sdist --format ziprunning sdistrunning checkwarning: check: missing required meta-data: urlwarning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list)warning: sdist: standard file not found: should have one of README, README.txtwriting manifest file 'MANIFEST'creating palindrome-1.0making hard links in palindrome-1.0...hard linking palindrome.py -> palindrome-1.0 ...
Read now
Unlock full access