-
Notifications
You must be signed in to change notification settings - Fork 11
PyPI
Falk Herwig edited this page Nov 19, 2017
·
3 revisions
- clone the repo
- make sure there is a .pypirc file in the home directory. See below. User and passwd information are on the NuGrid for Members plone page
- make a GitHub release on the GitHub page
- update setup.py file
- editing for example the version number to match the GitHub repo release
- uncomment line
long_description=...
- create README.rst file if README.md has been updated
pandoc --from=markdown --to=rst --output=README.rst README.md
- test upload
python setup.py sdist upload -r pypitest
and check on https://testpypi.python.org/pypi/NuGridpy - upload for real
python setup.py sdist upload -r pypi
and check on https://pypi.python.org/pypi/NuGridpy
- outdoated but useful: http://peterdowns.com/posts/first-time-with-pypi.html
- migration: https://packaging.python.org/guides/migrating-to-pypi-org/#uploading.
[distutils]
index-servers =
pypi
pypitest
[pypi]
username: nugridcollaboration2007
password: Mesadotpy24000
[pypitest]
repository: https://test.pypi.org/legacy/
username:
password: