From 24a11427a2b82875068a84a4c829ad0bcb64c6e2 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 6 Sep 2021 13:29:07 +0100 Subject: [PATCH 1/2] Don't build universal wheels Signed-off-by: Joshua Lock --- setup.cfg | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 5baa2d2173..366a2fbb53 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,3 @@ -[wheel] -universal = 1 - [check-manifest] ignore = requirements-dev.txt From 60925f0c0affbd7e84947ada78e6562ba4971398 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 6 Sep 2021 13:29:51 +0100 Subject: [PATCH 2/2] Update release docs not to mention Python 2 Signed-off-by: Joshua Lock --- docs/RELEASE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/RELEASE.md b/docs/RELEASE.md index ec1ad2a1e0..b69ae1cdf2 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -10,7 +10,7 @@ (ensure commands invoking `python` below are using Python 3) * Remove existing dist build dirs * Create source dist `python3 setup.py sdist` - * Create wheel (with 2 and 3 support) `python3 setup.py bdist_wheel --universal` + * Create wheel `python3 setup.py bdist_wheel` * Sign the dists `gpg --detach-sign -a dist/tuf-vA.B.C.tar.gz` * Upload to test PyPI `twine upload --repository testpypi dist/*` * Verify the uploaded package https://testpypi.python.org/pypi/tuf/ @@ -25,9 +25,9 @@ (ensure commands invoking `python` below are using Python 3) * Remove existing dist build dirs * Create source dist `python3 setup.py sdist` - * Create wheel (with 2 and 3 support) `python3 setup.py bdist_wheel --universal` + * Create wheel `python3 setup.py bdist_wheel` * Sign source dist `gpg --detach-sign -a dist/tuf-vA.B.C.tar.gz` - * Sign wheel `gpg --detach-sign -a dist/tuf-vA.B.C-py2.py3-none-any.whl` + * Sign wheel `gpg --detach-sign -a dist/tuf-vA.B.C-py3-none-any.whl` * Upload to test PyPI `twine upload --repository testpypi dist/*` * Verify the uploaded package https://testpypi.python.org/pypi/tuf/ * Upload to PyPI `twine upload dist/*`