We are currently using PyPI to for storing and distributing aepp packages, you can find the aepp project in https://pypi.org/project/aepp/. In this document, we will go through the steps for publishing new version of aepp.
- Contact the owner @Julien Piccini to add your PyPI account as the collaborator for the aepp project
- Set up your api token and save it in your local following the step "To make an API token" in https://pypi.org/help/#apitoken
- Update the version in aepp/version.py and make necessary changes in setup.py under the project root if your changes require dependency update for aepp
- Add a quick note about what has been changed in the new version you plan to publish in aepp/docs/releases.md
- Install build and twine in python by running the following command in case you don't have them installed before
pip install build
pip install twine
- Run the command below to generate two files in a dist folder generated under the project root
python -m build
7. Upload the two files in dist folder by running the command below
python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
When prompted for username, enter __token__
as username, and use the api token generated in step 2 as password
8. You can find the latest published aepp from https://pypi.org/project/aepp/#history