Skip to content

Commit 11212b4

Browse files
committed
pixi: Try to fix Windows install prefix
1 parent 5b498d4 commit 11212b4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

pixi.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,14 @@ backend = { name = "pixi-build-cmake", version = "0.3.*" }
3131

3232
[package.build.config]
3333
extra-args = [
34-
# Don't use standard layout because it's not well implemented on Windows
35-
"-DPYTHON_STANDARD_LAYOUT=OFF",
34+
"-DGENERATE_PYTHON_STUBS=ON",
35+
"-DBUILD_TESTING=OFF",
36+
"-DBUILD_TESTING_SCIPY=OFF",
37+
]
38+
39+
[package.build.config.target.win-64]
40+
extra-args = [
41+
"-DPYTHON_SITELIB=%PREFIX%/Lib/site-packages",
3642
"-DGENERATE_PYTHON_STUBS=ON",
3743
"-DBUILD_TESTING=OFF",
3844
"-DBUILD_TESTING_SCIPY=OFF",

0 commit comments

Comments
 (0)