-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (126 loc) · 3.77 KB
/
Copy pathpyproject.toml
File metadata and controls
135 lines (126 loc) · 3.77 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
128
129
130
131
132
133
134
135
[project]
name = "negmas"
version = "0.15.7"
description = "NEGotiations Managed by Agent Simulations"
readme = "README.rst"
requires-python = ">=3.10" # 3.10 is allowed to install but is NOT officially supported or tested (not in CI matrix or classifiers)
license = "AGPL-3.0-or-later"
authors = [
{ name = "Yasser Mohammad", email = "yasserfarouk@gmail.com" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"attrs>=24.2.0",
"click>=8.1.7",
"click-config-file>=0.6.0",
"cloudpickle>=3.1.0",
"colorlog>=6.9.0",
"dill>=0.3.9",
"gif>=23.3.0",
"inflect>=4.1.0,<6.0", # needed when using data-model-generator
"matplotlib>=3.7.0",
"plotly>=6.1.1", # >=6.1.1 is required for the kaleido>=1.0 integration (plotly.io.get_chrome / plotly_get_chrome)
"kaleido>=1.0", # static image export for plotly figures. kaleido>=1.0 drives a system Chrome rather than bundling one; negmas.plots._browser provisions one on demand for headless servers (see that module / BROWSER_PATH / NEGMAS_AUTO_INSTALL_CHROME).
"pillow>=12.1.0",
"networkx>=3.4.2",
"psutil>=6.1.0",
"py4j>=0.10.9.7",
"rich>=13.9.4",
"scikit-learn>=1.5.2",
"setuptools>=75.5.0",
"stringcase>=1.2.0",
"tabulate>=0.9.0",
"typer>=0.13.0",
"pyyaml>=6.0.2",
"typing-extensions>=4.12.2",
"pandas>=2.2.3",
"scipy>=1.14.1",
"numpy",
"pyarrow>=22.0.0",
"pebble>=5.2.0", # process pool with per-task timeout + worker kill for tournaments
]
[build-system]
# requires = ["hatchling"]
# build-backend = "hatchling.build"
requires = ["setuptools >= 40.6.0", "wheel"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
gui = [
"pyqt5>=5.15.11",
]
# distributed = [
# "dask[complete]>=2024.11.2",
# ]
testing = [
"hypothesis>=6.118.8",
"pytest-check>=2.4.1",
"pytest-timeout>=2.3.1",
"pytest>=8.3.3",
]
docs = [
"nbformat>=5.10.4",
"nbsphinx>=0.9.6",
"notebook==6.4.12",
"pillow>=12.1.0",
"sphinx>=7.0.0",
"sphinx-autodoc-typehints>=2.0.0,<3.0.0; python_version < '3.11'",
"sphinx-autodoc-typehints>=3.0.0; python_version >= '3.11'",
"sphinx-tabs>=3.4.7",
"sphinx-copybutton>=0.5.2",
"sphinx-click>=6.0.0",
"sphinxcontrib-typer>=0.5.0",
"furo>=2024.1.29",
]
dev = [
"bumpversion>=0.6.0",
"codacy-coverage>=1.3.11",
"coverage>=7.6.5",
"docutils>=0.21.2",
"ipykernel>=6.29.5",
"jupyter>=1.1.1",
"markupsafe>=3.0.2",
"pandoc>=2.4",
"papermill>=2.6.0",
"pre-commit>=4.0.1",
"pytest-cov>=6.0.0",
"pytest-sugar>=1.0.0",
"readme-renderer>=44.0",
"recommonmark>=0.7.1",
"ruff>=0.11.0",
"seaborn>=0.13.0",
"tox>=4.23.2",
"twine>=5.1.1",
"wheel>=0.46.2",
]
[project.scripts] # Entry points
negmas = "negmas.scripts.app:cli"
negotiate = "negmas.scripts.negotiate:app"
negui = "negmas.gui.app:cli"
# --- Tool Configurations ---
[tool.flake8]
exclude = ["docs"]
[tool.pytest.ini_options]
norecursedirs = [".svn", "_build", "tmp*", "build", "docs", ".undodir", "scratch", "trash", ".hypothesis"]
addopts = "--doctest-modules --hypothesis-show-statistics"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"repeat(n): repeat test n times",
]
collect_ignore = ["setup.py"]
[tool.mypy]
warn_unused_configs = false
warn_incomplete_stub = true
check_untyped_defs = true
python_version = "3.11"
strict_optional = false
ignore_missing_imports = false
[[tool.mypy.overrides]] # mypy overrides
module = ["setup.*"]
check_untyped_defs = false