July 2017
Beginner to intermediate
340 pages
7h 43m
English
To release your project, a simple command called sdist ;is provided in Python's Distutils. ;
Distutils has a series of commands that can be invoked with the python setup.py <COMMAND> command. Running the python setup.py sdist command in the root of your project will generate an archive containing the source code of your project.
In the following example, sdist is called in Runnerly's tokendealer project:
$ python setup.py sdist running sdist [...] creating runnerly-tokendealer-0.1.0 creating runnerly-tokendealer-0.1.0/runnerly_tokendealer.egg-info creating runnerly-tokendealer-0.1.0/tokendealer creating runnerly-tokendealer-0.1.0/tokendealer/tests creating runnerly-tokendealer-0.1.0/tokendealer/views copying files to runnerly-tokendealer-0.1.0... ...
Read now
Unlock full access