|
|
|
|
|
The following steps need to be performed to publish a new version to PyPI.
|
|
|
1. Open setup.py and change the version, e.g., version='0.1.1'
|
|
|
1. Open setup.py and change the version, e.g., version='0.1.1' (Note: 0.1.1a are for pre-release see PEP440)
|
|
|
2. If you added new, non-Python files to the project that need to be distributed as well, e.g., configuration files and DB init scripts, add them to MANIFEST.in Note: They need to be within the navipy subfolder (for example in resources), otherwise the packaged code will not work.
|
|
|
3. Open a terminal and go into the parent of the project's root dir
|
|
|
4. python setup.py sdist
|
... | ... | |