diff --git a/Makefile b/Makefile index 2af8de084..6bde85af1 100644 --- a/Makefile +++ b/Makefile @@ -16,5 +16,5 @@ release: clean force_release: clean git push --tags origin main - python3 setup.py sdist bdist_wheel + python -m build --sdist --wheel twine upload dist/* diff --git a/pyproject.toml b/pyproject.toml index 32c9d4a26..42bb31eda 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools"] build-backend = "setuptools.build_meta" [tool.pytest.ini_options] diff --git a/test-requirements.txt b/test-requirements.txt index e202d35c5..67496031e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,6 +5,7 @@ black pre-commit +build virtualenv pytest