September 2017
Intermediate to advanced
222 pages
5h 1m
English
For personal use, the configuration shown in the previous section is enough to create a source distribution and a wheel. Let’s try it:
| | $ cd /path/to/code/appendices/packaging/some_package_proj/ |
| | $ python setup.py sdist bdist_wheel |
| | running sdist |
| | ... |
| | warning: sdist: standard file not found: |
| | should have one of README, README.rst, README.txt |
| | |
| | running check |
| | warning: check: missing required meta-data: url |
| | |
| | warning: check: missing meta-data: |
| | either (author and author_email) |
| | or (maintainer and maintainer_email) must be supplied |
| | |
| | running bdist_wheel |
| | ... |
| | $ ls dist |
| | some_package-0.0.0-py3-none-any.whl some_package-0.0.0.tar.gz |
Well, with some warnings, a .whl ...
Read now
Unlock full access