This repository is archived and was moved here
- Python 3.12
- Hatch
Run python3 -m pip install --user virtualenv
Then create a new env with python3 -m venv <name of your venv>
Activate the venv with source <name of your venv>/bin/activate
Run python3 main.py <args>
Run hatch run test:test
Make sure to have the latest version of PyPA with python3 -m pip install --upgrade build
Run python3 -m build
to create the binaries
Run if needed python3 -python3 -m pip install --upgrade twine
to upgrade to the latest version of twine
Run python3 -m twine upload --repository testpypi dist/*
--repository testpypi
can be removed to push to the prod PyPI instance.
Also dist/*
can be a bit more precise to upload a specific version of the binaries
Please check if all files have a license header.
If not all files have a license header please execute: hatch run tool:license
.
Copyright 2011-2023 SonarSource.
Licensed under the GNU Lesser General Public License, Version 3.0