- Within a subpackage, make sure the version is updated in
pyproject.toml
. - Install prerequisites:
python -m pip install --upgrade pip
python -m pip install --upgrade build twine
-
Update the version number in the lib//pyproject.toml. Packages use standard semver.
-
Build the distribution within the subpackage. For example, to build the
fixedpointmath
package,
python -m build
- Upload to pypi. The below command will ask for a username and password.
python -m twine upload --repository pypi dist/*
TODO figure out how to expand access across one current account (currently fixedpointmath
is published under slundquist
)