Python

Install package in editable mode

From parent directory of package:

$ pip install -e <your package name>

Updating and Publishing Packages to PyPi:

See Packaging Python Projects (python.org)

  1. Your python envrionment will require the following pacakges:

     python=3
     setuptools
     twine
  2. Update the semantic version number in the package's setup.py.

  3. From the same directory as setup.py build the new version:

     $ python setup.py bdist_wheel --universal
  4. Upload the new version to PyPi. (You'll be prompted to enter your username/password):

     $ twine upload dist/*

Last updated