Upload to PyPI

This page describes how to upload OpenVisualizer to PyPI.

The SCons help provides some hints:

    upload:
        Uploads sdist archive to PyPI. The user must be registered as an
        Owner or Maintainer of OpenVisualizer. The user's PyPI credentials
        must be stored in their home directory .pypirc file.

1. Register at PyPI
Use the web form. The PyPI tutorial shows a command line 'python setup.py register' option. However, this doesn't work with our setup.py, which relies on SCons to copy requirements.pip first.

2. Set up the .pypirc in user home directory
See the tutorial section.

3. Run 'scons upload'
It does an 'sdist' first, and then uploads the result. You should see success messages in the output.