There are few package dependencies needed to get this going.
$ pip install wheel twine
Create your own account on pypi.python.org. This should only needed to be done once.
$ python setup.py register
Last minutes changes that need to occur to prepare for a release.
- Modify
pyasgard/version.py
and increase version number. - Modify
setup.py
, if necessary. - Tag the repo accordingly
$ git tag vX.Y.Z
$ git push --tags
Now its time to create the binaries and upload it to pypi.
# create binaries and wheel
$ python setup.py sdist
$ python setup.py bdist_wheel --universal
# uploads releases to pypi
$ twine upload dist/pyasgard-X.Y.Z.tar.gz
$ twine upload dist/pyasgard-X.Y.Z-*.whl