Skip to content

Releasing the SDK

Richard Nienaber edited this page Jul 3, 2015 · 1 revision

This is intended for the SDK developers.

Prerequisites

Create a .pypirc file in your home directory with this contents:

[distutils]
index-servers =
    pypi
    test

[pypi]
username:USER_NAME
password:PASSWORD

[test]
repository:https://testpypi.python.org/pypi
username:USER_NAME
password:PASSWORD

$ pip install twine

To do a release:

  1. Get the latest code.

    cd currencycloud-python
    checkout master
    git pull
  2. $ python setup.py sdist

  3. $ python setup.py register -r pypi

  4. $ twine upload -r pypi dist/currencycloud-0.7.0.tar.gz

To do a release (test):

  1. Get the latest code.

    cd currencycloud-python
    checkout master
    git pull
  2. $ python setup.py sdist

  3. $ python setup.py register -r test

  4. $ twine upload -r test dist/currencycloud-0.7.0.tar.gz

Clone this wiki locally