-*- org -*-

https://packaging.python.org/

* Run tests

* Run tests towards installed program

* Set version number in src/exactly_lib/program_info.py

* Make sure release year is included in COPYRIGHT

* 0. Remove existing distributables

> rm -rf dist
> rm -rf build

* Make distributables
Distribute source and wheel

> python3 setup.py sdist
> python3 setup.py bdist_wheel

* Upload

> twine upload dist/*

* wiki: Generate new Reference.html

* Tag repo with version

* Make release on github

* http://peterdowns.com/posts/first-time-with-pypi.html


** Upload your package to PyPI Test

Run:

> python setup.py register -r pypitest

This will attempt to register your package against PyPI's test server, just to
make sure you've set up everything correctly.

Then, run:

> python setup.py sdist upload -r pypitest

You should get no errors, and should also now be able to see your library in
the test PyPI repository.

** Upload to PyPI Live

Once you've successfully uploaded to PyPI Test, perform the same steps but
point to the live PyPI server instead. To register, run:

> python setup.py register -r pypi
Then, run:

> python setup.py sdist upload -r pypi
and you're done! Congratulations on successfully publishing your first package!
