Build package

ArGaze build system is based on setuptools and setuptools-scm to use Git tag as package version number.

Note

Consider that all inline commands below have to be executed at the root of ArGaze Git repository.

Install or upgrade the required packages:

pip install build setuptools setuptools-scm

Commit last changes then, tag the Git repository with a VERSION that follows the setuptools versionning schemes:

git tag -a VERSION -m "Version message"

Push commits and tags:

git push && git push --tags

Then, build package:

python -m build

Once the build is done, two files are created in a dist folder:

  • argaze-VERSION-py3-none-any.whl: the built package (none means for no specific OS, any means for any architecture).
  • argaze-VERSION.tar.gz: the source package.