aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py
diff options
context:
space:
mode:
authorS. Solomon Darnell2025-03-28 21:52:21 -0500
committerS. Solomon Darnell2025-03-28 21:52:21 -0500
commit4a52a71956a8d46fcb7294ac71734504bb09bcc2 (patch)
treeee3dc5af3b6313e921cd920906356f5d4febc4ed /.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py
parentcc961e04ba734dd72309fb548a2f97d67d578813 (diff)
downloadgn-ai-master.tar.gz
two version of R2R are hereHEADmaster
Diffstat (limited to '.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py')
-rw-r--r--.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py
new file mode 100644
index 00000000..dd7b8629
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py
@@ -0,0 +1,26 @@
+from typing import TYPE_CHECKING
+from warnings import warn
+
+warn(
+ "The 'wheel' package is no longer the canonical location of the 'bdist_wheel' "
+ "command, and will be removed in a future release. Please update to setuptools "
+ "v70.1 or later which contains an integrated version of this command.",
+ DeprecationWarning,
+ stacklevel=1,
+)
+
+if TYPE_CHECKING:
+ from ._bdist_wheel import bdist_wheel as bdist_wheel
+else:
+ try:
+ # Better integration/compatibility with setuptools:
+ # in the case new fixes or PEPs are implemented in setuptools
+ # there is no need to backport them to the deprecated code base.
+ # This is useful in the case of old packages in the ecosystem
+ # that are still used but have low maintenance.
+ from setuptools.command.bdist_wheel import bdist_wheel
+ except ImportError:
+ # Only used in the case of old setuptools versions.
+ # If the user wants to get the latest fixes/PEPs,
+ # they are encouraged to address the deprecation warning.
+ from ._bdist_wheel import bdist_wheel as bdist_wheel