-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpixi.toml
More file actions
73 lines (58 loc) · 2.02 KB
/
Copy pathpixi.toml
File metadata and controls
73 lines (58 loc) · 2.02 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
[workspace]
name = "mvesuvio"
channels = ["conda-forge", "mantid/label/nightly"]
platforms = ["linux-64", "win-64", "osx-arm64"]
description = "Analyse Vesuvio instrument data"
[dependencies]
python = ">=3.10"
pip = ">=24.0"
setuptools = ">=71.0.0"
wheel = "*"
[feature.mvesuvio.dependencies]
iminuit = "*"
jacobi = "*"
dill = "*"
mantidworkbench = "*"
[feature.conda-builder.dependencies]
mamba = "*"
conda-build = "*"
boa = "*"
anaconda-client = "*"
conda-verify = "*"
[feature.pypi-builder.dependencies]
python-build = "*"
twine = "*"
[feature.developer.dependencies]
ruff = "*"
pre-commit = "*"
coverage = "*"
mock = "*"
coveralls = "*"
versioningit = "*"
[feature.developer.tasks]
test = "PYTHONPATH=src python -m unittest discover -s tests -t ."
test-unit = "PYTHONPATH=src python -m unittest discover -s tests/unit -t ."
test-system = "PYTHONPATH=src python -m unittest discover -s tests/system -t ."
test-analysis-unit = "PYTHONPATH=src python -m unittest discover -s tests/unit/analysis -t ."
test-analysis-system = "PYTHONPATH=src python -m unittest discover -s tests/system/analysis -t ."
test-calibration-unit = "PYTHONPATH=src python -m unittest discover -s tests/unit/calibration -t ."
test-calibration-system = "PYTHONPATH=src python -m unittest discover -s tests/system/calibration -t ."
test-unit-coverage = "PYTHONPATH=src coverage run -m unittest discover -s tests/unit -t . && coverage report"
default-analysis-inputs = "PYTHONPATH=src python src/mvesuvio/config/analysis_inputs.py"
lint = "ruff check src tests"
format = "ruff format src tests"
dev = "pip install -e ."
[feature.pypi-builder.tasks]
build-pypi = "python -m build"
[feature.conda-builder.tasks]
build-conda = "cd conda && conda mambabuild --croot /tmp/conda-bld ."
# Only used for building in CI on linux
[feature.conda-builder]
platforms = ["linux-64"]
# Only used for building in CI on linux
[feature.pypi-builder]
platforms = ["linux-64"]
[environments]
vesuvio-developer = ["mvesuvio", "developer"]
conda-builder = ["conda-builder"]
pypi-builder = ["pypi-builder"]