Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.84 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.84 KB

Python Library for Currencies and Monetary Values

PyPI Python Versions License Builds Issues Last Commit

TODO: Provide a complete README.

Development Notes

Enter the Nix shell:

nix-shell

Run the test suite:

python -m nox

Note: Since we are under Nix shell, nox command will attempt to use its own Python interpreter pinned during nox installation. We want our own interpreter to be used during nox checks.

Alternatively:

nix-shell --argstr python python39  --run "python -m nox"
nix-shell --argstr python python310 --run "python -m nox"
nix-shell --argstr python python311 --run "python -m nox"

Note: Python 3.9 test are not added to GitHub Actions test workflow. It takes very long to setup the Nix shell as Python 3.9 packages are no longer fetched from the cache.

Publishing

Building a package and uploading it to PyPI is handled by the GitHub Action upon successful GitHub Release (using Release Please Action).

However, in the event of emergency, you can still manually build a package and upload it to PyPI:

rm -Rf dist/
python -m build
twine check dist/*
twine upload -s dist/*