forked from refnx/refnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (98 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
115 lines (98 loc) · 2.45 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
[build-system]
requires = [
"meson-python",
"meson",
"cython",
"wheel",
"numpy>=2.0.0rc1",
]
build-backend = "mesonpy"
[project]
name = "refnx"
version = "0.1.64.dev0"
#version = "0.1.64"
authors = [{name="Andrew Nelson", email="andyfaff+refnx@gmail.com"}]
description = "Neutron and X-ray Reflectometry Analysis"
license = "BSD-3-Clause"
readme = "README.md"
requires-python = ">=3.11"
dynamic = []
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"numpy>=2.0",
"scipy",
"orsopy",
]
[project.urls]
homepage = "https://github.com/refnx/refnx"
documentation = "https://refnx.readthedocs.io/en/latest"
tracker = "https://github.com/refnx/refnx/issues"
source = "https://github.com/refnx/refnx"
[project.optional-dependencies]
all = [
"IPython",
"ipywidgets",
"traitlets",
"matplotlib",
"xlrd",
"h5py",
"jupyter",
"tqdm",
"pymc",
"pytensor",
"attrs",
"pandas",
"pyparsing",
"periodictable",
"pyqt6",
"qtpy",
"corner",
"numba",
]
test = [
"pytest",
"uncertainties",
]
[project.gui-scripts]
refnx = "refnx.reflect:main"
[tool.black]
line-length = 79
extend-exclude="refnx/_lib/emcee/|refnx/_lib/ptemcee/|benchmarks"
[tool.meson-python]
limited-api=true
[tool.ruff]
exclude = [
"refnx/_lib/emcee",
"refnx/reflect/_app/resources_rc.py",
"refnx/_lib/ptemcee",
"*.ipynb",
]
[tool.ruff.lint]
ignore = ["F401", "F405", "E501", "E203", "E231"]
[tool.cibuildwheel]
skip = "cp38-* cp39-* cp310-*"
test-requires = ["pytest", "periodictable"]
test-command = "pytest --pyargs refnx.reflect.tests.test_reflect"
build = "cp311-*"
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
# On an Linux Intel runner with qemu installed, build Intel and ARM wheels
[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"
musllinux-x86_64-image = "musllinux_1_2"
musllinux-aarch64-image = "musllinux_1_2"
[tool.cibuildwheel.windows]
archs = ["AMD64"]
before-build = "pip install delvewheel"
repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}"
config-settings = { "setup-args" = ["--vsenv"] }