-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpixi.toml
64 lines (54 loc) · 1.51 KB
/
pixi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[workspace]
authors = ["ManifoldFR"]
channels = ["conda-forge"]
name = "nanoeigenpy"
description = "A support library for bindings between Eigen/C++ and Python, based on nanobind"
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
version = "0.1.0"
[tasks]
configure = { cmd = [
"cmake",
"-G",
"Ninja",
"-B",
"build",
"-S",
".",
"-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX",
"-DCMAKE_BUILD_TYPE=$NANOEIGENPY_BUILD_TYPE",
"-DBUILD_WITH_CHOLMOD_SUPPORT=$NANOEIGENPY_BUILD_WITH_CHOLMOD"
] }
build = { cmd = "cmake --build build --target all", depends-on = ["configure"] }
clean = { cmd = "rm -rf build" }
[dependencies]
python = ">=3.9"
eigen = ">=3.3.1"
numpy = ">=1.22"
scipy = ">=1.10.0"
[feature.python-latest.dependencies]
python = "3.13.*"
[feature.python-oldest.dependencies]
python = "3.9.*"
[feature.cholmod]
dependencies = { suitesparse = ">=7" }
activation = { env = { NANOEIGENPY_BUILD_WITH_CHOLMOD = "ON" } }
[feature.test.dependencies]
pytest = "*"
[activation]
scripts = ["development/scripts/pixi/activation.sh"]
[target.win-64.activation]
scripts = ["development/scripts/pixi/activation.bat"]
[build-dependencies]
nanobind = ">=2.5.0,<3"
cmake = ">=3.15"
cxx-compiler = ">=1.7"
ccache = ">=4.11.2"
ninja = ">=1.12.1"
pkg-config = ">=0.29.2"
git = ">=2.49.0"
doxygen = ">=1.13.2,<2"
[environments]
default = ["test", "python-latest"]
python-oldest = ["test", "python-oldest"]
all = ["test", "python-latest", "cholmod"]
all-python-oldest = ["test", "python-oldest", "cholmod"]