forked from scipy/scipy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
111 lines (101 loc) · 3.87 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# 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 SciPy release.
# Do accept micro (bug-fix) releases. So for example, if pybind11 2.4.3 is
# the most recent version on PyPI:
#
# "pybind11>=2.4.3,<2.5.0",
[build-system]
requires = [
"wheel",
"setuptools",
"Cython>=0.29.18",
"pybind11>=2.4.3",
"pythran",
# NumPy dependencies - to update these, sync from
# https://github.com/scipy/oldest-supported-numpy/, and then
# update minimum version to match our install_requires min version
# ----------------------------------------------------------------
# numpy 1.19 was the first minor release to provide aarch64 wheels, but
# wheels require fixes contained in numpy 1.19.2
"numpy==1.19.2; python_version=='3.6' and platform_machine=='aarch64'",
"numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64'",
# default numpy requirements
"numpy==1.16.5; python_version=='3.6' and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
"numpy==1.16.5; python_version=='3.7' and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
"numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
"numpy==1.19.3; python_version=='3.9' and platform_python_implementation != 'PyPy'",
# First PyPy versions for which there are numpy wheels
"numpy==1.19.0; python_version=='3.6' and platform_python_implementation=='PyPy'",
"numpy==1.20.0; python_version=='3.7' 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.10'",
"numpy; python_version>='3.8' and platform_python_implementation=='PyPy'",
]
[project]
name = "SciPy"
license = {file = "LICENSE.txt"}
maintainers = [
{name = "SciPy Developers", email = "scipy-dev@python.org"},
]
# Note: Python and NumPy upper version bounds should be set correctly in
# release branches, see:
# https://scipy.github.io/devdocs/dev/core-dev/index.html#version-ranges-for-numpy-and-other-dependencies
requires-python = ">=3.7"
dependencies = [
"numpy>=1.16.5",
]
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
dynamic = ['version', 'description']
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-xdist",
"asv",
"mpmath",
"gmpy2",
"scikit-umfpack",
]
doc = [
"sphinx!=3.1.0",
"pydata-sphinx-theme>=0.6.1",
"sphinx-panels>=0.5.2",
"matplotlib>2",
"numpydoc==1.1.0",
]
dev = [
"mypy",
"typing_extensions",
"pycodestyle",
"flake8",
]
[project.urls]
homepage = "https://scipy.org/"
documentation = "https://docs.scipy.org/doc/scipy/reference/"
source = "https://github.com/scipy/scipy"
download = "https://github.com/scipy/scipy/releases"
tracker = "https://github.com/scipy/scipy/issues"