diff --git a/release-pypi-linux.sh b/release-pypi-linux.sh index b0a11bcf..7f02f7ca 100644 --- a/release-pypi-linux.sh +++ b/release-pypi-linux.sh @@ -35,7 +35,7 @@ for VERSION in 3.8 3.9 3.10 3.11 3.12; do # Build and package pip install --no-cache-dir setuptools wheel cmake python setup.py build_ext bdist_wheel \ - --plat-name manylinux1_x86_64 + --plat-name "manylinux2014_$(uname --machine)" # Cleanup conda deactivate diff --git a/setup.py b/setup.py index c6f7bad8..a7ce160d 100644 --- a/setup.py +++ b/setup.py @@ -160,7 +160,7 @@ def _determine_platform_tag(): if os.name == 'posix': _, _, _, _, machine = os.uname() - return 'manylinux1-{}'.format(machine) + return 'manylinux2014-{}'.format(machine) warnings.warn( 'Windows macos and linux are all not detected, '