-
Notifications
You must be signed in to change notification settings - Fork 17
Releasing the SDK
Richard Nienaber edited this page Jul 3, 2015
·
1 revision
This is intended for the SDK developers.
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
-
Get the latest code.
cd currencycloud-python checkout master git pull
-
$ python setup.py sdist
-
$ python setup.py register -r pypi
-
$ twine upload -r pypi dist/currencycloud-0.7.0.tar.gz
-
Get the latest code.
cd currencycloud-python checkout master git pull
-
$ python setup.py sdist
-
$ python setup.py register -r test
-
$ twine upload -r test dist/currencycloud-0.7.0.tar.gz