forked from CellProfiler/CellProfiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpixi.toml
More file actions
54 lines (42 loc) · 2.08 KB
/
pixi.toml
File metadata and controls
54 lines (42 loc) · 2.08 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
[project]
name = "CellProfiler"
description = """
CellProfiler is a free open-source software designed \
to enable biologists without training in computer vision \
or programming to quantitatively measure phenotypes from \
thousands of images automatically."""
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
[tasks]
cp = { cmd = ["python", "-m", "cellprofiler"] }
[target.osx.tasks]
cp = { cmd = ["$PIXI_PROJECT_ROOT/.pixi/envs/dev/pythonapp/Contents/MacOS/python", "-m", "cellprofiler"], env = { PYTHONEXECUTABLE = "$PIXI_PROJECT_ROOT/.pixi/envs/dev/bin/python" } }
[activation]
# https://github.com/PyMySQL/mysqlclient/issues/496#issuecomment-1614688099
env = { MYSQLCLIENT_CFLAGS = "-I$PIXI_PROJECT_ROOT/.pixi/envs/default/include/mysql", MYSQLCLIENT_LDFLAGS = "-L$PIXI_PROJECT_ROOT/.pixi/envs/default/lib -lmysqlclient -rpath $PIXI_PROJECT_ROOT/.pixi/envs/default/lib" }
[target.linux-64.activation]
env = { MYSQLCLIENT_CFLAGS = "-I$PIXI_PROJECT_ROOT/.pixi/envs/default/include/mysql", MYSQLCLIENT_LDFLAGS = "-L$PIXI_PROJECT_ROOT/.pixi/envs/default/lib" }
[feature.java.activation]
env = { JAVA_HOME = "$PIXI_PROJECT_ROOT/.pixi/envs/dev/lib/jvm" }
[dependencies]
python = "3.9.*"
h5py = "<3.11"
mysql = "=8.0"
[pypi-dependencies]
mysqlclient = ">=2.2.3"
[feature.java.dependencies]
openjdk = "11.*"
maven = ">=3.9.9,<4"
[target.osx.dependencies]
"python.app" = ">=1.4,<2"
# enable this to avoid building wxPython wheel on Linux
# disable to build wheel from scratch
# url must be changed to match linux distro: https://extras.wxpython.org/wxPython4/extras/linux/gtk3/
[target.linux-64.pypi-dependencies]
wxPython = { url = "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04/wxPython-4.2.1-cp39-cp39-linux_x86_64.whl" }
[feature.mod.pypi-dependencies]
cellprofiler-library = { path = "./src/subpackages/library", extras = ["test"], editable = true }
cellprofiler-core = { path = "./src/subpackages/core", extras = ["test"], editable = true }
cellprofiler = { path = "./src/frontend", extras = ["test"], editable = true }
[environments]
dev = ["mod", "java"]