From 79d4fce63973916368d269b0417df27bc585ead3 Mon Sep 17 00:00:00 2001 From: Ian Meyers Date: Mon, 15 May 2023 15:02:25 +0100 Subject: [PATCH 1/3] Changing build structure to simplify pypi installs changing how package is built to include wheel --- bin/build.sh | 2 +- pyproject.toml | 4 ++-- setup.cfg | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/build.sh b/bin/build.sh index 80e46a9..17b6511 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 && python -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..17c8e9a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = aws-data-mesh-utils -version = 1.0.17 +version = 1.0.19 author = Ian Meyers author_email = meyersi@amazon.co.uk license = Apache 2.0 From 4bf4016e8ab7ee375e955737ae7d3506195801b2 Mon Sep 17 00:00:00 2001 From: Ian Meyers Date: Mon, 15 May 2023 15:20:31 +0100 Subject: [PATCH 2/3] Fixing package version --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 17c8e9a..ffe9dac 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = aws-data-mesh-utils -version = 1.0.19 +version = 1.0.20 author = Ian Meyers author_email = meyersi@amazon.co.uk license = Apache 2.0 From 20d4bbbc2a92f5c806806c7c4749efb6187d54cb Mon Sep 17 00:00:00 2001 From: Ian Meyers Date: Mon, 15 May 2023 15:23:29 +0100 Subject: [PATCH 3/3] Fixing alias issue --- bin/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build.sh b/bin/build.sh index 17b6511..eadda11 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ "$1" == "build" ]; then - rm -Rf dist build && python -m build + 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/*