These are the steps to package and upload simple_log to pypi

  1. Make changes and commit to mercurial

  2. Produce source and wheel distribution packages:

    $ python setup.py sdist
    $ python setup.py bdist_wheel
  3. Upload to pypi using setup.py or twine:

    $ python setup.py upload -r pypi
    $ twine upload -r pypi dist/*
  4. Build and upload the documentation to my web site:

    $ cd docs
    $ make clean; make html
    $ rsync -va docs/build/html/ andy47@<my web host>:<user home>/halfcooked/simple_log/