-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpixi.toml
More file actions
76 lines (57 loc) · 1.76 KB
/
pixi.toml
File metadata and controls
76 lines (57 loc) · 1.76 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
[workspace]
name = "neopdf"
version = "0.3.2"
authors = ["Tanjona R. Rabemananjara <tanjona.hepc@gmail.com>"]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-64", "win-64", "osx-arm64"]
[dependencies]
python = "3.13.*"
pip = "*"
rust = "*"
[activation.env]
NEOPDF_DATA_PATH = "$PWD/neopdf-data"
[feature.pyapi.dependencies]
maturin = "*"
numpy = "*"
pytest = "*"
pytest-cov = "*"
[feature.capi.dependencies]
c-compiler = "*"
cxx-compiler = "*"
gfortran = "*"
cargo-c = "*"
[feature.cli.dependencies]
[feature.docs.dependencies]
mkdocs = "*"
mkdocs-material = "*"
[environments]
default = {features=["pyapi", "capi", "cli", "docs"]}
[pypi-dependencies]
mkdocs-roamlinks-plugin = "*"
[tasks]
# Python API
install-pyapi = "maturin develop --manifest-path neopdf_pyapi/Cargo.toml"
test-pyapi = "pytest neopdf_pyapi/tests"
# C-API
install-capi = "cargo cinstall --manifest-path neopdf_capi/Cargo.toml"
test-capi = "make -C neopdf_capi/tests"
# Command Line Interface (CLI)
install-cli = "cargo install --path neopdf_cli"
# Documentations
docs = "mkdocs serve"
[target.linux-64.tasks]
test-rust = "cargo test --no-fail-fast --release"
[target.win-64.tasks]
test-rust = "cargo test --no-fail-fast --release"
[target.osx-64.tasks]
test-rust = { cmd = "cargo test --no-fail-fast --release", env = { MACOSX_DEPLOYMENT_TARGET = "11.0", SDKROOT = "$(xcrun --sdk macosx --show-sdk-path)" } }
test-capi = "make -C neopdf_capi/tests"
[target.osx-arm64.tasks]
test-rust = { cmd = "cargo test --no-fail-fast --release", env = { MACOSX_DEPLOYMENT_TARGET = "11.0", SDKROOT = "$(xcrun --sdk macosx --show-sdk-path)" } }
test-capi = "make -C neopdf_capi/tests"
[target.linux-64.dependencies]
lhapdf = "*"
[target.osx-64.dependencies]
lhapdf = "*"
[target.osx-arm64.dependencies]
lhapdf = "*"