-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (106 loc) · 3.02 KB
/
Copy pathpyproject.toml
File metadata and controls
128 lines (106 loc) · 3.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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = ["hatchling","hatch-vcs","hatch-fancy-pypi-readme", "pip-tools"]
build-backend = "hatchling.build"
[project]
name = "OES-toolbox"
dynamic = ["version"]
description = "Tool for low-temperature plasma optical emission spectroscopy."
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Julian Held", email = "j.held@tue.nl" },
]
classifiers = [
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"file-read-backwards>=3.0.0",
"matplotlib>=3.7.0",
"moose-spectra>=0.2.1",
"owlspec>=0.3.0",
"PyQt6>=6.5.0",
"pyqtgraph>=0.13.1",
"sif-parser>=0.3.5",
"pyarrow>=20.0.0",
"xarray>=2025.4.0",
"h5netcdf>=1.6.0",
"charset-normalizer>=3.4.0",
"spexread>=0.2.1",
"qtawesome>=1.4.0",
"avaread>=0.2.0",
"xlsxwriter>=3.1.0"
]
[project.scripts]
OES-toolbox-dev = "OES_toolbox:main"
[project.gui-scripts]
OES-toolbox = "OES_toolbox:main"
[project.urls]
Homepage = "https://oes-toolbox.com"
[tool.hatch.version]
source="vcs"
fallback-version="0.0.1dev"
[tool.hatch.build.hooks.vcs]
version-file = "OES_toolbox/_version.py"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/markdown"
fragments = [
{ path = "README.md" }
]
[tool.hatch.build]
packages = ["OES_toolbox/"]
[tool.hatch.build.targets.sdist]
include = [
"/oes_toolbox",
]
[tool.hatch.envs.default]
installer = "uv"
extra-dependencies = ["ipykernel","ipython","cx_Freeze>=8.0", "scipy<1.17"]
[tool.hatch.envs.hatch-test]
parallel = false
extra-dependencies = ["hypothesis"]
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.10", "3.11","3.12","3.13"]
[tool.ruff]
line-length=120
target-version = "py310"
[tool.ruff.format]
exclude = ["*.py"]
[tool.ruff.lint]
extend-ignore = ["F401","E402","D"]
extend-select = ["E4", "E7", "E9", "F","C4", "SIM", "NPY", "PD","B","UP"]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[tool.setuptools.dynamic]
version = {attr = "OES_toolbox.__version__"}
[tool.cxfreeze]
executables = [
{script = "OES-toolbox.py", base = "gui", icon="icon", shortcut_name="OES toolbox", shortcut_dir="MyProgramMenu"}
]
[tool.cxfreeze.build_exe]
packages = ["astropy", "scipy", "sqlalchemy", "owlspec", "spexread", "pyarrow"]
includes = ["pyqtgraph", "Moose"]
[tool.cxfreeze.bdist_msi]
upgrade_code = "{03CE325A-E237-482B-9630-0B6584029808}"
install_icon = "icon.png"
[tool.cxfreeze.bdist_msi.data]
Directory = [
["ProgramMenuFolder", "TARGETDIR", "."],
["MyProgramMenu", "ProgramMenuFolder", "MYPROG~1|My Program"]
]
ProgId = [
["OES.toolbox", 0, 0, "Helping out with optical emission spectroscopy of low-temperature plasmas.", "OEStoolboxIcon", 0]
]
Icon = [
["OEStoolboxIcon", "icon.ico"]
]