-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Jorge Boucas edited this page Jan 25, 2018
·
14 revisions
Create a with ~/.pypirc
with the following content:
[distutils]
index-servers =
pypi
pypitest
[pypi]
repository=https://upload.pypi.org/legacy/
username=<your username>
password=<your password>
[pypitest]
repository=https://testpypi.python.org/pypi
username=<your username>
password=<your password>
Make sure you have updated the version number in setup.py
.
Make a new release.
Register and upload to pypi:
python setup.py register -r pypi
python setup.py sdist upload -r pypi
Alternative:
python setup.py sdist
twine upload dist/*
Edit the respective file in the docs
folder.
To preview your changes offline:
cd AGEpy
mkdocs build
cd site
jekyll serve