forked from scikit-image/scikit-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
87 lines (79 loc) · 3.29 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
[project]
name = "scikit-image"
license = {file = "LICENSE.txt"}
description = "Image processing in Python"
maintainers = [
{name = "scikit-image developers", email="skimage-core@discuss.scientific-python.org"},
]
requires-python = ">=3.8"
dependencies = [
# TODO: update to "pin-compatible" once possible, see
# https://github.com/FFY00/meson-python/issues/29
"numpy>=1.21.1",
]
readme = "README.md"
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
"Topic :: Software Development :: Libraries",
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
]
dynamic = ['version']
[project.urls]
homepage = "https://scikit-image.org"
documentation = "https://scikit-image.org/docs/stable"
source = "https://github.com/scikit-image/scikit-image"
download = "https://pypi.org/project/scikit-image/#files"
tracker = "https://github.com/scikit-image/scikit-image/issues"
[build-system]
build-backend = "mesonpy"
requires = [
"meson-python>=0.11.0",
# `wheel` is needed for non-isolated builds, given that `meson-python`
# doesn't list it as a runtime requirement (at least in 0.10.0)
# See https://github.com/FFY00/meson-python/blob/main/pyproject.toml#L4
"wheel",
"setuptools<=65.5",
"packaging",
"Cython>=0.29.24",
"pythran",
"lazy_loader>=0.1",
# We follow scipy for much of these pinnings
# https://github.com/scipy/scipy/blob/main/pyproject.toml
# On Windows we need to avoid 1.21.6, 1.22.0 and 1.22.1 because they were
# built with vc142. 1.22.3 is the first version that has 32-bit Windows
# wheels *and* was built with vc141. So use that:
"numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
# default numpy requirements
"numpy==1.21.1; python_version=='3.8' and platform_python_implementation != 'PyPy'",
"numpy==1.21.1; python_version=='3.9' and platform_python_implementation != 'PyPy'",
"numpy==1.21.6; python_version=='3.10' and platform_system != 'Windows' and platform_python_implementation != 'PyPy'",
"numpy==1.23.3; python_version=='3.11' and platform_python_implementation != 'PyPy'",
# For Python versions which aren't yet officially supported,
# we specify an unpinned NumPy which allows source distributions
# to be used and allows wheels to be used as soon as they
# become available.
"numpy; python_version>='3.12'",
"numpy; python_version>='3.8' and platform_python_implementation=='PyPy'",
]
[tool.devpy]
package = 'skimage'
[tool.devpy.commands]
"Build" = ["devpy.build", "devpy.test"]
"Environments" = ["devpy.shell", "devpy.ipython", "devpy.python"]
"Documentation" = [".devpy/cmds.py:docs"]
"Metrics" = [".devpy/cmds.py:asv", ".devpy/cmds.py:coverage"]