Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.61 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.61 KB

Python Deployment

These scripts assist with building Python packages and pushing them to PyPI (the Python Package Index). See also

Overview

See comments in scripts for canonical usage. This page includes additional notes.

Package building

These scripts build packages:

Version management

These scripts handle versioning across packages, including considerations like major, minor, and patch levels (X.Y.Z), as well as suffixes like rc20241107:

PyPI deployment

These scripts handle promoting nightly releases packages to stable and pushing to PyPI:

Both of these scripts expect to have the dependencies from requirements-pypi-deploy.txt installed. This can be easily managed by using a Python virtual environment:

python -m venv .venv
source .venv/bin/activate
python -m pip install -r ./requirements-pypi-deploy.txt