See test/README.md
In ivydepparse/_init_.py to 7.8.9
in this example.
In README.rst
$ python setup.py sdist
And check that the resulting dist/ivydepparse-7.8.9.tar.gz
looks well-formed.
$ sudo pip install dist/ivydepparse-7.8.9.tar.gz
and test it briefly, e.g.
$ ivydepparse < ivy-example.xml
$ git add -u
$ git commit -m "Version 7.8.9"
$ git push
$ git tag "7.8.9"
$ git push --tags
Create ~/.pypirc
as follows:
[distutils]
index-servers =
pypi
pypitest
[pypi]
repository: https://pypi.python.org/pypi
username:ttgf
password:mypassword
[pypitest]
repository: https://testpypi.python.org/pypi
username:ttgf
password:mypassword
and push:
$ python setup.py sdist upload -r pypitest
NOTE: if this fails because the project doesn't exist in PyPI Test anymore, register it again:
$ python setup.py register -r pypitest
Finally check that the package looks well-formed at https://testpypi.python.org/pypi/ivydepparse/7.8.9
$ python setup.py sdist upload -r pypi
and check that the package looks well-formed at https://pypi.python.org/pypi/ivydepparse/7.8.9
Finally check that the package can be installed from PyPI:
$ sudo pip uninstall ivydepparse
$ sudo pip install ivydepparse