-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpixi.toml
61 lines (52 loc) · 1.77 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
[project]
name = "vl-convert"
# This version is not used for publishing packages and doesn't need to be kept in sync
version = "0.0.1"
description = "Dependency free static image export for Vega and Vega-Lite"
authors = ["Jon Mease <jonmmease@gmail.com>"]
channels = ["conda-forge"]
platforms = ["osx-arm64", "osx-64", "win-64", "linux-64"]
[system-requirements]
macos = "12.0"
[tasks]
dev-py = "maturin develop -m vl-convert-python/Cargo.toml"
test-py = { cmd = ["pytest", "vl-convert-python/tests"]}
test-cli = "cargo test -p vl-convert"
test-rs = "cargo test -p vl-convert-rs -- --test-threads=1"
fmt-py = "black vl-convert-python"
fmt-py-check = "black vl-convert-python --check"
fmt-rs = "cargo fmt --all"
fmt-rs-check = "cargo fmt --all -- --check"
check-rs = "cargo check --tests"
clippy = "cargo clippy"
build-rs = "cargo build -p vl-convert-rs"
build-cli = "cargo build -p vl-convert"
build-py = "maturin build -m vl-convert-python/Cargo.toml --sdist --release"
vendor = "cargo run -p vl-convert-vendor"
bundle-licenses = """
cargo install cargo-bundle-licenses &&
cargo bundle-licenses --format yaml --output thirdparty_rust.yaml &&
cp thirdparty_*.* vl-convert-python/ &&
cp thirdparty_*.* vl-convert-rs/ &&
cp thirdparty_*.* vl-convert/
"""
[pypi-dependencies]
pypdfium2 = ">=4.30.0, <5"
# Development Dependencies
[dependencies]
python = "3.11.*"
maturin = ">=1.4.0,<1.5"
pytest = ">=8.2.2,<8.3"
rust = ">=1.80.1,<2"
scikit-image = ">=0.23.2,<0.24"
deno = ">=1.45.5,<2"
protobuf = ">=4.25.3,<5"
black = ">=24.8.0,<25"
pip = ">=24.2,<25"
# Dependencies not required for development or testing,
# but useful when trying out vl-convert-python by hand
altair = ">=5.3.0,<5.4"
vega_datasets = ">=0.9.0,<0.10"
altair_tiles = ">=0.3.0,<0.4"
geopandas = ">=0.14.3,<0.15"
jupyterlab = ">=4.0.11,<4.1"