For maintainers: Updating the project on pip - Seluj78/IntraPy GitHub Wiki
To update the project on pip, you'll need a ~/.pypirc
file like so:
[distutils]
index-servers =
pypi
pypitest
[pypi]
username=XXXX
password=XXXX
[pypitest]
repository: https://test.pypi.org/legacy/
username=XXXX
password=XXXX
Then you'll need to edit the following files : __init__.py
, setup.py
to replace the old version number with the new one
One done, run
git tag VERSION_NUMBER -m "VERSION_MESSAGE"
git push --tags origin master
python setup.py sdist
twine upload dist/*
or
python setup.py register sdist upload
or, if I ever succeed to get it fixed, use the update script located in scripts/update.sh