-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpixi.toml
More file actions
35 lines (27 loc) · 1.04 KB
/
pixi.toml
File metadata and controls
35 lines (27 loc) · 1.04 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
[workspace]
authors = ["Team whIRLwind"]
channels = ["conda-forge"]
name = "booster-sdk"
platforms = ["osx-arm64", "linux-64", "linux-aarch64"]
version = "0.1.0"
[environments]
py = ["wheel-build", "python-tasks"]
[dependencies]
python = "==3.11"
[tasks]
rs-check = "python scripts/ci/checks_rust.py"
rs-fmt = "cargo fmt --all"
[feature.python-tasks.tasks]
py-build = "pixi run -e py py-build-common"
py-build-wheel = "pixi run -e py py-build-wheel-common"
py-fmt = "ruff format --config booster_sdk_py/pyproject.toml"
py-lint = "ruff check --config booster_sdk_py/pyproject.toml && ruff format --check --config booster_sdk_py/pyproject.toml"
[feature.python-tasks.pypi-dependencies]
ruff = ">=0.15.1,<0.16.0"
[feature.wheel-build.tasks]
py-build-common = "PIP_REQUIRE_VIRTUALENV=0 maturin develop --manifest-path booster_sdk_py/Cargo.toml"
py-build-wheel-common = "maturin build --release --manifest-path booster_sdk_py/Cargo.toml --out booster_sdk_py/dist/"
[feature.wheel-build.dependencies]
pip = ">=23"
setuptools = ">=80.0,<81.0"
maturin = ">=1.9.6,<2"