PyPI
Package is hosted here: https://pypi.python.org/pypi/arctic/
General upload and packaging docs
https://realpython.com/pypi-publish-python-package/
The version number is of the format:
Pre-requisites
- Ensure you have pypandoc installed for converting the
README.mdto rst for pypi. - Configure
.pypircto have appropriate credentials for upload.@burrowsa@jamesblackburnhave access
pip install pypandoc
Procedure
- Confirm the version number is sane:
grep version= setup.py - Ensure the working directory is clean:
git status - Register the egg:
python setup.py register -r pypi - Upload the source-dist:
python setup.py sdist upload -r pypi - Upload the egg:
python setup.py build bdist_egg upload -r pypi - Tag the package:
git tag v1.0.0 -m "Tagging v1.0.0" && git push --tags - Update the version number in setup.py and push to master