-
Notifications
You must be signed in to change notification settings - Fork 39
/
pixi.toml
60 lines (46 loc) · 1.62 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
[project]
authors = ["Lorenz Lechner <sppedflyer@gmail.com>"]
channels = ["conda-forge"]
description = "combining building and dependency management with pixi"
name = "pivy"
platforms = ["osx-arm64", "linux-64", "linux-aarch64", "win-64", "osx-64"]
version = "0.1.0"
[environments]
build = ["build"]
lint = ["lint"]
[feature.build.dependencies]
python = "*"
swig = "*"
coin3d = "*"
cmake = "*"
ninja = "*"
soqt6 = "*"
qt6-main = "*"
pyside6 = "*"
simage = "*"
[feature.build.target.linux-64.dependencies]
mesa-libgl-devel-cos7-x86_64 = "*"
gxx = "*"
[feature.build.target.linux-aarch64.dependencies]
mesa-libgl-devel-cos7-aarch64 = "*"
gxx = "*"
[feature.build.target.osx-arm64.dependencies]
clangxx = "*"
[feature.build.target.osx-64.dependencies]
clangxx = "*"
[feature.build.target.win-64.dependencies]
clangxx = "*"
[feature.build.tasks]
configure = { cmd = ["cmake", "-G", "Ninja", "-B", "build", "-S", ".",
"-D", "CMAKE_BUILD_TYPE='Release'",
"-D", "CMAKE_INSTALL_PREFIX:FILEPATH=$CONDA_PREFIX",
"-D", "PIVY_USE_QT6:BOOL=ON",
"-D", "QT_HOST_PATH=$CONDA_PREFIX"
], depends-on = []}
build = { cmd = ["ninja", "-C", "build", "-j", "1", "install"], depends-on = ["configure"]}
test = { cmd = ["python", "tests/coin_tests.py"], depends-on = ["build"]}
[feature.lint.dependencies]
flake8 = "*"
[feature.lint.tasks]
lint = { cmd = ["flake8", ".", "--count", "--select=E901,E999,F821,F822,F823",
"--show-source", "--statistics", "--exclude=build,.pixi,.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,.egg,scons,SoPyScript"]}