Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 786 Bytes

python.md

File metadata and controls

35 lines (23 loc) · 786 Bytes

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/*