-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpyproject.toml
83 lines (73 loc) · 2.48 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[build-system]
requires = [
"meson-python",
"scipy",
"h5py",
"wheel",
# Note for packagers: the numpy version constraint is specific to wheels
# for PyPI; it is also supported to build against 1.xx still.
# If you do so, please ensure to include a `numpy<2.0` runtime requirement
# for those binary packages.
"numpy>=2.0.0rc1; python_version >= '3.9'",
"numpy; python_version < '3.9'",
# tomli needed by meson.build to load version variable
"tomli >= 2.0.1 ; python_version < '3.11'",
]
build-backend = "mesonpy"
[project]
name = "xrayutilities"
version = "1.7.10"
description = "Package for x-ray diffraction data evaluation"
readme = "README.md"
license = { text = "GPL-2.0-or-later" }
authors = [
{ name = "Dominik Kriegner", email = "dominik.kriegner@gmail.com" },
{ name = "Eugen Wintersberger", email = "eugen.wintersberger@desy.de" },
]
maintainers = [
{ name = "Dominik Kriegner", email = "dominik.kriegner@gmail.com" },
]
keywords = ["x-ray", "diffraction", "data analysis"]
classifiers = [
"Programming Language :: C",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Physics",
"Intended Audience :: Science/Research",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
]
requires-python = ">=3.7,<4.0"
dependencies = ["numpy>=1.9.2", "scipy>=0.18.0", "h5py", "lmfit>=1.0.1"]
[project.optional-dependencies]
plot = ["matplotlib>=3.1.0"]
3D = ["mayavi"]
[tool.meson-python.args]
setup = ['--vsenv']
[project.urls]
homepage = "https://xrayutilities.sourceforge.io"
source = "https://github.com/dkriegner/xrayutilities"
download = "https://pypi.org/project/xrayutilities/#files"
tracker = "https://github.com/dkriegner/xrayutilities/issues"
[tool.coverage.paths]
source = ["lib", "*/site-packages"]
[tool.coverage.run]
branch = true
parallel = true
source = ["xrayutilities"]
[tool.pylint]
disable = ["invalid-name", "R", "C", "W"]
extension-pkg-allow-list = ["xrayutilities.cxrayutilities", "scipy.special"]
[tool.flake8]
per-file-ignores = [
"__init__.py:F401",
"lib/xrayutilities/materials/wyckpos.py:E741",
]
count = true
[tool.ruff]
line-length = 79
[tool.ruff.lint.extend-per-file-ignores]
"lib/xrayutilities/materials/wyckpos.py" = ["E741"]