diff --git a/Makefile b/Makefile index 6f88b3f2..5a2cb0c9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Copyright (c) 2008-2013 testtools developers. See LICENSE for details. -PYTHON=python +PYTHON=python3 SOURCES=$(shell find testtools -name "*.py") check: @@ -21,11 +21,13 @@ prerelease: -rm MANIFEST release: - ./setup.py sdist bdist_wheel upload --sign + hatchling build + twine upload dist/testtools-$(shell hatchling version)-* + gpg -a --detach-sign dist/testtools-$(shell hatchling version).tar.gz $(PYTHON) scripts/_lp_release.py snapshot: prerelease - ./setup.py sdist bdist_wheel + hatchling build ### Documentation ### diff --git a/setup.py b/setup.py index 61cc244b..f187f2cd 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import setuptools setuptools.setup()