forked from pyodide/pyodide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
biopython thinks that setuptools needs wheel to make a wheel but it doesn't anymore. Upstream PR: biopython/biopython#4749
- Loading branch information
Showing
2 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
packages/biopython/patches/0001-Remove-error-message-if-wheel-is-not-installed.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
From 434770dc707c5192159249d098e6dbc660fa6556 Mon Sep 17 00:00:00 2001 | ||
From: Hood Chatham <[email protected]> | ||
Date: Thu, 20 Jun 2024 12:31:15 -0700 | ||
Subject: [PATCH] Remove error message if wheel is not installed | ||
|
||
Since pypa/setuptools#4369 was merged, wheel is vendored into setuptools and no | ||
longer needs to be installed for `bdist_wheel` to work. | ||
|
||
Upstream PR: | ||
https://github.com/biopython/biopython/pull/4749 | ||
--- | ||
setup.py | 9 --------- | ||
1 file changed, 9 deletions(-) | ||
|
||
diff --git a/setup.py b/setup.py | ||
index 530b413a9..6cfc48de5 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -37,15 +37,6 @@ except ImportError: | ||
"Try running: python -m ensurepip" | ||
) | ||
|
||
-if "bdist_wheel" in sys.argv: | ||
- try: | ||
- import wheel # noqa: F401 | ||
- except ImportError: | ||
- sys.exit( | ||
- "We need both setuptools AND wheel packages installed " | ||
- "for bdist_wheel to work. Try running: pip install wheel" | ||
- ) | ||
- | ||
|
||
# Make sure we have the right Python version. | ||
MIN_PY_VER = (3, 9) | ||
-- | ||
2.34.1 | ||
|