-
Notifications
You must be signed in to change notification settings - Fork 5
Developer notes
uogbuji edited this page Oct 15, 2014
·
20 revisions
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 ~/.pypirc akin to:
# Tells distutils what package indexes you can push to
[distutils]
index-servers =
pypi
pypitest
# authentication details for live PyPI
[pypi]
repository: https://pypi.python.org/pypi
username: {{your_username}}
password: {{your_password}}
# authentication details for test PyPI
[pypitest]
repository: https://testpypi.python.org/pypi
username: {{your_username}}
password: {{your_password}}