forked from airbus/discrete-optimization
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (117 loc) · 3.14 KB
/
Copy pathpyproject.toml
File metadata and controls
127 lines (117 loc) · 3.14 KB
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "discrete-optimization"
description = "Discrete optimization library"
readme = "README.md"
authors=[
{name= "Airbus AI Research", email = "scikit-decide@airbus.com"},
]
license={text = "MIT"}
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Development Status :: 4 - Beta",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"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.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.10"
dependencies = [
"shapely>=1.7",
"minizinc>=0.6.0",
"deap>=1.3.1",
"networkx>=2.5 ",
"numba>=0.50",
"matplotlib>=3.1",
"seaborn>=0.10.1",
"pymzn>=0.18.3",
"ortools>=9.8, !=9.15.6755",
"tqdm>=4.62.3",
"sortedcontainers>=2.4",
"deprecation",
"typing-extensions>=4.4",
"cpmpy>=0.9.9",
"scipy",
"numpy>=1.21",
"clingo>=5.6",
"didppy>=0.8.0",
"setuptools",
"pandas>=2, !=3.0.4",
"wrapt>=2.2.1",
]
dynamic = ["version"]
[project.optional-dependencies]
quantum = [
"qiskit>=1.0.2",
"qiskit-algorithms>=0.3.0",
"qiskit-optimization>=0.6.1",
"qiskit-aer>=0.14.1",
"qiskit-ibm-runtime>=0.24"
]
toulbar = ["pytoulbar2>=0.0.0.4"]
dashboard = ["dash", "plotly", "dash_bootstrap_components", "pandas[hdf5]"]
gurobi = [
"gurobipy>=12.0.3",
]
optuna = [
"optuna>=4.5.0",
]
[project.urls]
documentation = "https://airbus.github.io/discrete-optimization"
repository = "https://github.com/airbus/discrete-optimization"
[tool.setuptools_scm]
[tool.mypy]
ignore_missing_imports = true
strict_optional = true
implicit_optional = false
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--import-mode=importlib"
testpaths = ["tests"]
[tool.ruff.lint]
# On top of the Google convention, disable `D417`, which requires
# documentation for every function parameter.
ignore = ["D417"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[dependency-groups]
dev = [
"jupyter>=1.1.1",
"jupyterlab-execute-time>=3.3.0",
"optuna-dashboard>=0.20.0",
]
doc = [
"myst-parser>=3.0.1",
"sphinx>=7.4.7",
"sphinx-rtd-theme>=3.0.2",
]
test = [
"nbmake>=1.5.5",
"pytest>=8.4.2,<9.1",
"pytest-cases>=3.9.1",
"pytest-cov>=7.0.0",
"scikit-learn>=1.6.1",
]
optalcp-preview = [
"optalcp-bin-preview @ git+https://github.com/ScheduleOpt/optalcp-py-bin-preview.git@latest ; python_version >= '3.11'",
]
[tool.uv]
default-groups = ["test", "doc", "dev"]