Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a99a52af9 |
+4
-9
@@ -205,13 +205,10 @@ def main():
|
|||||||
# Find the wheel for this version
|
# Find the wheel for this version
|
||||||
if py_version.startswith("pypy"):
|
if py_version.startswith("pypy"):
|
||||||
# PyPy wheels use pp3XX format
|
# PyPy wheels use pp3XX format
|
||||||
wheel_pattern = (
|
version_tag = f"pp{py_version.replace('pypy', '').replace('.', '')}"
|
||||||
f"aeg-*-pp{py_version.replace('pypy', '').replace('.', '')}-*.whl"
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
wheel_pattern = (
|
version_tag = f"cp{py_version.replace('.', '').replace('t', '')}"
|
||||||
f"aeg-*-cp{py_version.replace('.', '').replace('t', '')}-*.whl"
|
wheel_pattern = f"aeg-*-{version_tag}-*.whl"
|
||||||
)
|
|
||||||
wheels = list(dist_dir.glob(wheel_pattern))
|
wheels = list(dist_dir.glob(wheel_pattern))
|
||||||
if not wheels:
|
if not wheels:
|
||||||
print(f"✗ Could not find wheel for Python {py_version}", file=sys.stderr)
|
print(f"✗ Could not find wheel for Python {py_version}", file=sys.stderr)
|
||||||
@@ -242,9 +239,7 @@ def main():
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# Find the repaired wheel (it will have a different name)
|
# Find the repaired wheel (it will have a different name)
|
||||||
all_wheels = list(
|
all_wheels = list(dist_dir.glob(f"aeg-*-{version_tag}-*.whl"))
|
||||||
dist_dir.glob(f"aeg-*-cp{py_version.replace('.', '')}-*.whl")
|
|
||||||
)
|
|
||||||
repaired_wheels = [w for w in all_wheels if "linux_x86_64" not in str(w)]
|
repaired_wheels = [w for w in all_wheels if "linux_x86_64" not in str(w)]
|
||||||
if not repaired_wheels:
|
if not repaired_wheels:
|
||||||
print(
|
print(
|
||||||
|
|||||||
Reference in New Issue
Block a user