diff --git a/Makefile b/Makefile index cb25967..c2b5b5f 100644 --- a/Makefile +++ b/Makefile @@ -11,14 +11,14 @@ endef all: reformat tests lint -.PHONY: build -build: clean +.PHONY: package +package: clean $(call colorecho, "\n Building package distributions...") - python setup.py sdist bdist_wheel + python -m build . .PHONY: publish -publish: build +publish: package twine upload dist/* diff --git a/pyproject.toml b/pyproject.toml index c4a0e41..218734c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ {name = "Mariusz Kupidura"}, ] dynamic = ["version"] -requires-python = ">= 3.6" +requires-python = ">= 3.8" readme = "README.md" license = {file = "LICENSE"} classifiers=[