diff --git a/Makefile b/Makefile index 0c4713c..7a7102c 100644 --- a/Makefile +++ b/Makefile @@ -53,18 +53,16 @@ coverage: clean ## Check code coverage locally open htmlcov/index.html release: clean # Package and upload a release to PyPI - python setup.py sdist - python setup.py bdist_wheel + python -m build twine check dist/* twine upload --repository pypi dist/* - open https://pypi.python.org/pypi/python-epo-ops-client + open https://pypi.org/project/python-epo-ops-client/ release-test: clean # Package and upload a release to testpypi - python setup.py sdist - python setup.py bdist_wheel + python -m build twine check dist/* twine upload --repository testpypi dist/* - open https://testpypi.python.org/pypi/python-epo-ops-client + open https://test.pypi.org/project/python-epo-ops-client/ sdist: clean python setup.py sdist diff --git a/setup.py b/setup.py index 1302214..5b3118a 100755 --- a/setup.py +++ b/setup.py @@ -27,6 +27,7 @@ extras = { "develop": [ "black<24", + "build<2", "ruff==0.0.285; python_version >= '3.7'", "twine<5", "wheel<1",