Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 804 Bytes

HACKING.rst

File metadata and controls

48 lines (28 loc) · 804 Bytes

Run the tests

You can run the tests using either system packages or a tox-generated virtualenv.

System packages

Using system packages makes test runs significantly faster.

If you are on a Debian-based system, install the relevant dependencies once with:

make dependencies

Then you can run tests with:

make

Tox

Using tox to run the tests is easier since you won't have to deal with not-packaged or not-recent-enough versions in your system, but it's also a tad slower. Just run:

tox

Cutting a release

Tag and sign the new version:

git tag -s X.Y.Z

Upload to PyPI:

python3 setup.py sdist bdist_wheel upload -r pypi --sign -i <your key>