diff --git a/bin/build.sh b/bin/build.sh index 80e46a9..eadda11 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ "$1" == "build" ]; then - rm -Rf dist build && python3 setup.py install + rm -Rf dist build && python3 -m build twine check dist/* elif [ "$1" == "deploy-test" ]; then twine upload --repository-url https://test.pypi.org/legacy/ dist/* diff --git a/pyproject.toml b/pyproject.toml index b5a3c46..c773d44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools>=42", + "setuptools>=61.0.0", "wheel" ] -build-backend = "setuptools.build_meta" \ No newline at end of file +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg index d1dbf7e..ffe9dac 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = aws-data-mesh-utils -version = 1.0.17 +version = 1.0.20 author = Ian Meyers author_email = meyersi@amazon.co.uk license = Apache 2.0