Repository navigation
Expand file tree
/
Copy pathpixi.toml
More file actions
96 lines (77 loc) · 3.41 KB
/
Copy pathpixi.toml
File metadata and controls
96 lines (77 loc) · 3.41 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Info for pixi-build
[package.build.backend]
name = "pixi-build-python"
version = "0.*"
[package.build.config]
ignore-pypi-mapping = false
extra-args = ["-Ceditable_mode=compat"]
pypi-conda-map = { hdf5storage = false }
[package.host-dependencies]
uv = "*" # added for faster installation
[package.run-dependencies]
# add in git dependencies manually since pypi-mapping ignores them
fastplotlib = { git = "https://github.com/ethanbb/fastplotlib", branch = "a16-numpy2"}
mesmerize-viz = { git = "https://github.com/proektlab/mesmerize-viz", branch = "master" }
optype-numpy = "*" # optype with numpy extra is available as a different conda package
# add in [notebook] dependencies of fastplotlib manually since conda-build doesn't handle them
jupyterlab = "*"
jupyter-rfb = ">=0.4.1,<1"
ipywidgets = ">=8.0.0,<9"
sidecar = "*"
# add in [jupyter] dependencies of caiman
jupyter = "*"
jupyter_bokeh = "*"
pyqtgraph = "*"
tk = "*"
[package.extra-dependencies.dev]
pytest = "*"
[workspace]
preview = ["pixi-build"]
channels = ["conda-forge"]
platforms = [
{ name = "win-64-cpu", platform = "win-64"},
{ name = "win-64-cuda", platform = "win-64", cuda = "12" },
{ name = "linux-64-cpu", platform = "linux-64"},
{ name = "linux-64-cuda", platform = "linux-64", cuda = "12" },
"osx-arm64",
]
# Seems to not be able to automatically determine which VS to use?
# Specifying manually - on Windows, Visual C++ 2019 build tools must be installed
[workspace.target.win.build-variants]
c_compiler = ["vs2019"]
cxx_compiler = ["vs2019"]
[activation.env]
QT_API = "pyside6" # specify for qtpy
# Uncomment and modify if you want your caiman_data folder to be somewhere other than your home directory (CAIMAN_DATA)
# or to set the root data path using an environment variable (CMCODE_ROOT_DATA_DIR).
# If you prefer, you can set these paths using private/local_environment.py (see README); however,
# note that in that case operations that read CAIMAN_DATA outside of cmcode (like caimanmanager commands) won't work.
# Settings in the local_environment.py file take precedence over environment variables.
# Here, separate network paths are given for Unix and Windows platforms (pointing to the same location).
# Note: You will also have to set up root_mappings in local_environment.py for Unix/Windows interop to work reliably.
# [target.unix.activation.env]
# CAIMAN_DATA = "/mnt/bigdata/eblackwood/caiman_data"
# CMCODE_ROOT_DATA_DIR = "/mnt/bigdata/eblackwood/2p_data"
# [target.win.activation.env]
# CAIMAN_DATA = "Y:\\eblackwood\\caiman_data"
# CMCODE_ROOT_DATA_DIR = "Y:\\eblackwood\\2p_data"
[dependencies]
caiman = { git = "https://github.com/proektlab/CaImAn", branch = "new-dev" }
mesmerize-core = { git = "https://github.com/proektlab/mesmerize-core", branch = "new-dev" }
cmcode = { path = "." }
ipykernel = "<7" # maybe helps with matplotlib?
pandas = "2.*" # compatibility with older python version for loading in matlab
[pypi-dependencies]
suite2p = { git = "https://github.com/proektlab/suite2p", branch = "proekt-dev" }
hdf5storage = ">=0.2.2, <0.3" # version on conda-forge is out of date
kap = "~=0.3.0"
[feature.cuda]
platforms = ["win-64-cuda", "linux-64-cuda", "osx-arm64"]
[feature.cuda.dependencies]
pytorch = { version = "*", build = "cuda*" }
# cuda pytorch doesn't exist for osx, so don't require it for default environment
[feature.cuda.target."osx-*".dependencies]
pytorch = { version = "*" }
[environments]
default = ["cuda"]
cpu = []