-
Notifications
You must be signed in to change notification settings - Fork 1
Updating The Package
CoderDonohoe edited this page Dec 8, 2021
·
1 revision
To update the package, I have been using these instructions: https://packaging.python.org/tutorials/packaging-projects/#generating-distribution-archives
- Update the version no in setup.py: https://github.com/urlbox/urlbox-python/blob/main/setup.py#L8
- Commit that in git.
- Update the python build package:
python3 -m pip install --upgrade build
- Build the new distribution/ package:
python3 -m build
- Update/install the twine tool:
python3 -m pip install --upgrade twine
- Push it up to PyPi:
python3 -m twine upload dist/*
- Enter your user name and pass word for your PyPi account when asked.
- That’s it!