forked from cvxpy/cvxpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
35 lines (32 loc) · 1.27 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
[tool.ruff]
select = ["E", "F", "I"]
line-length = 100
exclude = [
"build",
"examples",
"doc",
"cvxpy/cvxcore/*",
"*__init__.py"
]
# The minimum Python version that should be supported
target-version = "py37"
[tool.pytest.ini_options]
testpaths = [
"cvxpy/tests/"
]
[build-system]
requires = [
"numpy>=1.15,<1.16; python_version=='3.7' and platform_machine!='aarch64'",
"numpy>=1.19.2,<1.20; python_version=='3.7' and platform_machine=='aarch64'",
"numpy>=1.17,<1.18; python_version=='3.8' and platform_machine!='aarch64'",
"numpy>=1.19.2,<1.20; python_version=='3.8' and platform_machine=='aarch64'",
"numpy>=1.19,<1.20; python_version=='3.9' and (platform_machine not in 'arm64|aarch64' or platform_system!='Darwin')",
"numpy>=1.19.2,<1.20; python_version=='3.9' and platform_machine=='aarch64'",
"numpy>=1.21.4,<1.22; python_version=='3.9' and (platform_machine=='arm64' and platform_system=='Darwin')",
"numpy>=1.21,<1.22; python_version=='3.10' and (platform_machine!='arm64' or platform_system!='Darwin')",
"numpy>=1.21.4,<1.22; python_version=='3.10' and (platform_machine=='arm64' and platform_system=='Darwin')",
"numpy>=1.23.4,<1.24; python_version=='3.11'",
"scipy >= 1.1.0",
"setuptools>65.5.1",
"wheel"
]