From parent directory of package:
$ pip install -e <your package name>
See Packaging Python Projects (python.org
)
-
Your python envrionment will require the following pacakges:
python=3 setuptools twine
-
Update the semantic version number in the package's
setup.py
. -
From the same directory as
setup.py
build the new version:$ python setup.py bdist_wheel --universal
-
Upload the new version to PyPi. (You'll be prompted to enter your username/password):
$ twine upload dist/*