-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (88 loc) · 2.14 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (88 loc) · 2.14 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
[build-system]
requires = ["setuptools >= 61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mmg_toolbox"
dynamic = ['version']
dependencies = [
"numpy",
"h5py",
"hdf5plugin",
"hdfmap>=1.1.0",
"matplotlib",
"imageio",
"scipy",
"lmfit",
"stomp.py",
]
requires-python = ">=3.10"
authors = [{ name = "Dan Porter", email = "dan.porter@diamond.ac.uk" }]
maintainers = [{ name = "Dan Porter", email = "dan.porter@diamond.ac.uk" }]
description = "Repository for useful python data analysis functions for the Diamond Magnetic Materials Group"
readme = "README.md"
license = { file = "LICENSE" }
keywords = ['nexus']
classifiers = [
'Programming Language :: Python :: 3.10',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Physics',
'License :: OSI Approved :: Apache Software License',
'Development Status :: 3 - Alpha',
]
[project.optional-dependencies]
# minimal install
base = [
"numpy",
"h5py",
"hdf5plugin",
"hdfmap>=1.1.0",
"matplotlib",
"imageio",
"lmfit",
]
# full install with additional packages
full = [
"numpy",
"h5py",
"hdf5plugin",
"hdfmap>=1.1.0",
"matplotlib",
"imageio",
"scipy",
"lmfit",
"diffcalc-core",
"ipython",
"jupyter",
"nbconvert",
"nbformat",
"nexpy",
"ipywidgets",
"kaleido",
"plotly",
]
[tool.setuptools]
packages = [
'mmg_toolbox',
'mmg_toolbox.beamline_metadata',
'mmg_toolbox.data',
'mmg_toolbox.scripts',
'mmg_toolbox.diffraction',
'mmg_toolbox.plotting',
'mmg_toolbox.nexus',
'mmg_toolbox.utils',
'mmg_toolbox.xas',
'mmg_toolbox.fitting',
'mmg_toolbox.tkguis',
'mmg_toolbox.tkguis.misc',
'mmg_toolbox.tkguis.widgets',
'mmg_toolbox.tkguis.apps',
'mmg_toolbox.tkguis.xmcd_visualiser',
]
[tool.setuptools.package-data]
"mmg_toolbox.data" = ["*.json"]
"mmg_toolbox.scripts" = ["*.ipynb"]
[tool.setuptools.dynamic]
version = { attr = "mmg_toolbox.__version__" }
[project.scripts]
dataviewer = "mmg_toolbox.tkguis:cli_run"
create_notebooks = "mmg_toolbox.scripts.experiment_startup:cli_create_notebooks"