We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a906869 commit 06e63d9Copy full SHA for 06e63d9
setup.py
@@ -14,7 +14,7 @@ def has_ext_modules(self):
14
# Determine the architecture and platform tag for the wheel
15
if sys.platform.startswith('win'):
16
# Get architecture from environment variable or default to x64
17
- arch = os.environ.get('ARCH', 'x64')
+ arch = os.environ.get('ARCHITECTURE', 'x64')
18
19
# Normalize architecture values
20
if arch in ['x86', 'win32']:
@@ -25,7 +25,9 @@ def has_ext_modules(self):
25
else: # Default to x64/amd64
26
arch = 'x64'
27
platform_tag = 'win_amd64'
28
-
+
29
+ print(f"Detected architecture: {arch} (platform tag: {platform_tag})")
30
31
# Add architecture-specific packages
32
packages.extend([
33
f'mssql_python.libs.{arch}',
0 commit comments