forked from PyWavelets/pywt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (88 loc) · 2.68 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
84
85
86
87
88
89
90
91
92
93
94
95
96
# Note that in maintenance branches, all build dependencies should
# have an upper bound equal to the most recent already-released version
# of the dependency. This to prevent that a future backwards-incompatible
# release will break the source build of a PyWavelets release.
# Do accept micro (bug-fix) releases.
[build-system]
build-backend = "mesonpy"
requires = [
"meson-python>=0.16.0",
"Cython>=3.0.4",
# numpy requirement for wheel builds for distribution on PyPI - building
# against 2.x yields wheels that are also compatible with numpy 1.x at
# runtime.
# Note that building against numpy 1.x works fine too - users and
# redistributors can do this by installing the numpy version they like and
# disabling build isolation.
"numpy>=2.0.0; python_version<'3.13'",
"numpy>=2.1.0; python_version>='3.13'",
]
[project]
name = "PyWavelets"
version = "1.8.0.dev0"
# TODO: add `license-files` once PEP 639 is accepted (see meson-python#88)
# at that point, no longer include them in `py3.install_sources()`
license = {file = "LICENSE"}
maintainers = [
{name = "The PyWavelets Developers", email = "[email protected]"}
]
description = "PyWavelets, wavelet transform module"
requires-python = ">=3.10"
dependencies = ["numpy>=1.23,<3"]
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules"
]
[project.optional-dependencies]
optional = ["scipy>=1.9"]
[project.urls]
homepage = "https://github.com/PyWavelets/pywt"
source = "https://github.com/PyWavelets/pywt"
documentation = "https://pywavelets.readthedocs.io/"
[tool.ruff]
line-length = 88
target-version = 'py310'
select = [
"I",
"UP",
"C4",
"E713",
"NPY201",
"PIE",
"PGH003",
"PLR0402",
"SIM101",
"SIM109",
"SIM110",
"SIM118",
"SIM2",
]
ignore = [
"UP038", # https://github.com/astral-sh/ruff/issues/7871
]
[tool.spin]
package = "pywt"
[tool.spin.commands]
"Build" = [
"spin.cmds.meson.build",
"spin.cmds.meson.test",
"spin.cmds.build.sdist"
]
Environments = [
'spin.cmds.meson.run',
'spin.cmds.meson.ipython',
'spin.cmds.meson.python',
]