We keep the latest stable release of the pyviz3d package available on PyPy.


Loosely following the instructions from [1]

$ pip install twine

In your home folder, set up ~/.pypirc:

repository: https://test.pypi.org/legacy/
username: your username

To test the release without modifying the public PyPi release. First, this creates dist and pyviz3d.egg-info folders which can then be uploaded to the pypi test repository given the correct credentials.

  • Make sure to update the version in the setup.py, it has to be newer then the last uploaded one.
  • If additional data files are added, update the MANIFEST.in file accordingly.
  • Delete the previous dist files rm -rf ./dist/*.tar.gz
$ python setup.py sdist
$ twine upload --repository testpypi dist/*  # this is an alternative
$ pip install -i https://test.pypi.org/simple/ pyviz3d

When everything works, prepare a new release on github:


After that, the public release can be added to the public PyPi repository:

$ python setup.py sdist
$ twine upload dist/*


The Anaconda package is created from the pypi package and is hosted on Anaconda Cloud [2]

$ conda install anaconda-client conda-build conda-verify
$ conda config --set anaconda_upload no
$ conda skeleton pypi pyviz3d
$ conda build pyviz3d