We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe30c5c commit 0090ab5Copy full SHA for 0090ab5
setup.py
@@ -103,16 +103,7 @@ def get_platform_classifier(platform_name):
103
raise ValueError(f"Unknown platform: {platform_name}")
104
105
def get_current_platform():
106
- """Determine the current platform name.
107
-
108
- Respects _PYTHON_HOST_PLATFORM environment variable for platform namings.
109
- """
110
- # Check if we're cross-compiling (used by python -m build)
111
- host_platform = os.environ.get('_PYTHON_HOST_PLATFORM')
112
- if host_platform:
113
- # Return the host platform as-is for proper wheel tagging
114
- return host_platform
115
+ """Determine the current platform name."""
116
# Default platform detection
117
if sys.platform == "win32":
118
if platform.machine() == "ARM64":
0 commit comments