Skip to content

Commit b0cfff5

Browse files
committed
fix(packaging)!: use --platform in pip instead of sitecustomize.py
1 parent 8740a8b commit b0cfff5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/serious_python/bin/package_command.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ class PackageCommand extends Command {
360360
...pipArgs,
361361
'--target',
362362
sitePackagesDir,
363+
'--platform',
364+
arch.value["tag"]!,
363365
...requirements
364366
], environment: pipEnv);
365367

src/serious_python/bin/sitecustomize.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ String sitecustomizePy = """
33
# The folder containing this file should be on your PYTHONPATH pip is invoked.
44
55
custom_system = "{platform}"
6-
custom_platform = "{tag}"
6+
# custom_platform = "{tag}"
77
custom_mac_ver = "{mac_ver}"
88
99
import collections

0 commit comments

Comments
 (0)