Skip to content
James Blackburn edited this page Jul 29, 2015 · 7 revisions

PyPI

Package is hosted here: https://pypi.python.org/pypi/arctic/

General upload and packaging docs

http://peterdowns.com/posts/first-time-with-pypi.html

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

  1. Confirm the version number is sane: grep version= setup.py
  2. Ensure the working directory is clean: git status
  3. Register the egg: python setup.py register -r pypi
  4. Upload the source-dist: python setup.py sdist upload -r pypi
  5. Upload the egg: python setup.py build bdist_egg upload -r pypi
  6. Tag the package: git tag v1.0.0 -m "Tagging v1.0.0" && git push --tags
  7. Update the version number in setup.py and push to master