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.md
to rst for pypi. - Configure
.pypirc
to have appropriate credentials for upload.@burrowsa
@jamesblackburn
have 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