-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpixi.toml
More file actions
104 lines (78 loc) · 2.29 KB
/
pixi.toml
File metadata and controls
104 lines (78 loc) · 2.29 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
97
98
99
100
101
102
[workspace]
authors = ["Morten Enemark Lund <melund@gmail.com>"]
channels = ["conda-forge", "anybody", "anybody/label/rc"]
platforms = ["win-64", "linux-64"]
preview = ["pixi-build"]
requires-pixi = ">=0.63.2"
[environments]
docs = ["docs"]
test = ["test", "anybody"]
test-no-anybodycon = ["test"]
build = ["build"]
# By default `pixi run start` will use released version of AnyPyTools
# To use development version use `pixi run -e tutorials-dev start`
tutorials = { features=["tutorials", "anybody", "released" ], no-default-feature = true }
tutorials-dev = { features=["tutorials", "anybody"] }
[dependencies]
anypytools = {path= "."}
[package]
name = "anypytools"
version="1.20.6"
[package.build]
backend = { name = "pixi-build-python", version = "*" }
[package.host-dependencies]
flit-core="*"
pip = "*"
setuptools = "*"
[package.run-dependencies]
python= ">=3.10"
pip="*"
h5py="*"
setuptools="*"
pydoe="*"
scipy="*"
pygments_anyscript="*"
pandas="*"
ipywidgets="*"
rich="*"
# [package.target.win-64.run-dependencies]
pywin32="*"
[feature.build.dependencies]
flit = "*"
pip = "*"
twine = "*"
[feature.build.tasks]
clean-build = "rm -rf build dist"
publish = {cmd='echo "Publishing to pypi is done by making a release on github"'}
build = {cmd="flit build", depends-on=["clean-build"]}
check-wheel = "twine check dist/*"
[feature.tutorials.dependencies]
matplotlib = "*"
jupyter="*"
ipykernel = "*"
ipywidgets = "*"
seaborn = ">=0.13.2,<0.14"
[feature.tutorials.tasks]
start = {cmd="jupyter lab docs/user-guide/01_Getting_started_with_anypytools.ipynb", default-environment = "tutorials"}
[feature.released.dependencies]
anypytools = "*"
[feature.test.dependencies]
pytest=">=9"
pytest-xdist = "*"
debugpy = "*"
[feature.anybody.target.win-64.dependencies]
anybodycon = "8.2*"
[feature.test.tasks]
test = {cmd = "pytest"}
[feature.docs.dependencies]
pydata-sphinx-theme = ">=0.16.1,<0.17"
myst-nb = ">=1.3.0,<2"
sphinx = ">=8.2.3,<9"
sphinx-design = ">=0.6.1,<0.7"
astroid = ">=2.7,<4"
sphinxcontrib-napoleon = ">=0.7,<0.8"
ipywidgets = "*"
[feature.docs.pypi-dependencies]
sphinx-autodoc2 = { git = "https://github.com/AnyBody-Research-Group/sphinx-autodoc2", rev = "215f04e72efc7294a0c93de4f038b9a1aa806e8f" }
[feature.docs.tasks]
build-docs = {cmd="sphinx-build -nW --keep-going -b html docs/ docs/_build/html"}