Skip to content
uogbuji edited this page Oct 15, 2014 · 20 revisions

Amara3-xml developer notes

Release

You need Github & PyPI update access.

#Update README.md
vi README.md
#Update version
vi lib/version.py
#Upload to PyPI Test then check the package page at https://testpypi.python.org/pypi/amara3-xml
python setup.py  sdist upload -r pypitest
#Upload to PyPI
python setup.py sdist upload -r pypi
#Select tag name
export RELEASETAG=v3.0.0a3 #This works for bash. Tweak to taste.
#Tag release
git tag -am "Release of version $RELEASETAG" #Must be double, not single quotes
#Push the tag to Github
git push origin $RELEASETAG
#Hmm how about git push --tags origin master ?

Assumes you've set up index-servers in [https://docs.python.org/2/distutils/packageindex.html#pypirc|~/.pypirc] akin to:

[distutils] # this tells distutils what package indexes you can push to
index-servers =
    pypi # the live PyPI
    pypitest # test PyPI

[pypi] # authentication details for live PyPI
repository: https://pypi.python.org/pypi
username: {{your_username}}
password: {{your_password}}

[pypitest] # authentication details for test PyPI
repository: https://testpypi.python.org/pypi
username: {{your_username}}
password: {{your_password}}

Clone this wiki locally