forked from cvxpy/cvxpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (88 loc) · 2.26 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
[tool.ruff]
select = [
"E",
"F",
"I",
"NPY201",
"W605", # Check for invalid escape sequences in docstrings (errors in py >= 3.11)
]
line-length = 100
exclude = [
"build",
"examples",
"doc",
"cvxpy/cvxcore/*",
"*__init__.py"
]
# The minimum Python version that should be supported
target-version = "py39"
[tool.pytest.ini_options]
testpaths = [
"cvxpy/tests/"
]
[build-system]
requires = [
"numpy >= 2.0.0",
"scipy >= 1.1.0",
# 68.1.0 Promoted pyproject.toml's [tool.setuptools] out of beta.
"setuptools >= 68.1.0",
"wheel",
"pybind11"
]
# We need access to the 'setup' package at build time.
# Hence we declare a custom build backend.
build-backend = "setup.build_meta" # just re-exports setuptools.build_meta definitions
backend-path = ["."]
[project]
name = "cvxpy"
description = "A domain-specific language for modeling convex optimization problems in Python."
dependencies = [
"osqp >= 0.6.2",
"ecos >= 2",
"clarabel >= 0.5.0",
"scs >= 3.2.4.post1",
"numpy >= 1.20",
"scipy >= 1.1.0",
]
requires-python = ">=3.9"
urls = {Homepage = "https://github.com/cvxpy/cvxpy"}
license = {text = "Apache License, Version 2.0"}
authors = [{name = "Steven Diamond", email = "stevend2@stanford.edu"},
{name = "", email = "akshayka@cs.stanford.edu"},
{name = "Eric Chu", email = "echu508@stanford.edu"},
{name = "Stephen Boyd", email = "boyd@stanford.edu"}]
dynamic = ["version"]
[project.optional-dependencies]
# Solver names as in cvxpy.settings = pip-installable distribution providing it
CBC = ["cylp>=0.91.5"]
CLARABEL = []
CVXOPT = ["cvxopt"]
DIFFCP = ["diffcp"]
ECOS = []
ECOS_BB = []
GLOP = ["ortools>=9.7,<9.10"]
GLPK = ["cvxopt"]
GLPK_MI = ["cvxopt"]
GUROBI = ["gurobipy"]
HIGHS = ["scipy>=1.6.1"]
MOSEK = ["Mosek"]
OSQP = []
PDLP = ["ortools>=9.7,<9.10"]
PIQP = ["piqp"]
PROXQP = ["proxsuite"]
SCIP = ["PySCIPOpt"]
SCIPY = ["scipy"]
SCS = ["setuptools>65.5.1"]
XPRESS = ["xpress"]
DAQP = ["daqp"]
testing = ["pytest", "hypothesis"]
doc = ["sphinx",
"sphinxcontrib.jquery",
"sphinx-inline-tabs",
"sphinx-design",
"sphinx-immaterial>=0.11.7"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[tool.setuptools]
include-package-data = false