Skip to content

Commit 0090ab5

Browse files
committed
fix: Build debug
1 parent fe30c5c commit 0090ab5

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

setup.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,7 @@ def get_platform_classifier(platform_name):
103103
raise ValueError(f"Unknown platform: {platform_name}")
104104

105105
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-
106+
"""Determine the current platform name."""
116107
# Default platform detection
117108
if sys.platform == "win32":
118109
if platform.machine() == "ARM64":

0 commit comments

Comments
 (0)