-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
64 lines (53 loc) · 1.81 KB
/
pyproject.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
61
62
63
64
[project]
name = "magic-afm"
dynamic = ["version"]
#version = "0.9.0"
description = "Code to analyze and understand Magic Ratio AFM"
readme = { file = "README.rst", content-type = "text/x-rst" }
authors = [{ name = "richardsheridan", email = "[email protected]" }]
requires-python = ">= 3.11"
dependencies = [
"attrs>=23.2.0",
"numpy>=1.21",
"soxr",
]
[project.urls]
Homepage = "https://github.com/richardsheridan/magic-afm"
[project.optional-dependencies]
build = ["pyinstaller", "build", "twine"]
gui = [
"imageio",
"pillow>=9",
"psutil",
"matplotlib>=3.8.0",
"trio>=0.20.0",
"trio-parallel>1.1.0",
"tqdm>=4.56.0",
]
notebook = ["notebook>=7", "ipywidgets", "scipy", "tqdm>=4.56.0", "matplotlib>=3.8.0", ]
numba = ["numba>=0.54.0", ]
h5py = ["h5py>=3", ]
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["win-64"]
[tool.pixi.dependencies]
python = ">=3.11.0, <3.13.0"
pixi-pycharm = "*"
[tool.pixi.feature.gui.tasks]
gui = { cmd = ["python", "-m", "magic_afm.gui"] }
#[tool.pixi.feature.gui.pypi-dependencies]
#magic-afm = { path = ".", editable = true }
[tool.pixi.feature.notebook.tasks]
notebook = { cmd = ["python", "-m", "notebook", "magic fitting workflow.ipynb"] }
[tool.pixi.feature.build.tasks]
make-version = { cmd = ["python", "magic_afm/_make_version.py"] }
build = { cmd = ["pyinstaller", "-y", "magic_gui_win.spec"], depends_on = ["make-version"] }
[tool.pixi.environments]
default = { solve-group = "default" }
#gui = { features = ["gui", "numba"], solve-group = "default" }
build = { features = ["build", "gui", "numba", "h5py"], solve-group = "default" }
notebook = { features = ["notebook", "numba", "h5py"], solve-group = "default" }