-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpyproject.toml
136 lines (125 loc) · 3.41 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[project]
name = "negmas"
version = "0.10.23"
description = "NEGotiations Managed by Agent Simulations"
readme = "README.rst"
requires-python = ">=3.11"
license = { text = "GNU General Public License v2 or later (GPLv2+)" }
authors = [
{ name = "Yasser Mohammad", email = "[email protected]" },
]
classifiers = [
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"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",
"hypothesis>=6.118.8",
"inflect>=4.1.0,<6.0", # needed when using data-model-generator
"matplotlib>=3.9.2",
"networkx>=3.4.2",
"psutil>=6.1.0",
"py4j>=0.10.9.7",
"rich>=13.9.4",
"scikit-learn>=1.5.2",
"seaborn>=0.13.2",
"setuptools>=75.5.0",
"stringcase>=1.2.0",
"tabulate>=0.9.0",
"typer>=0.13.0",
"typing>=3.10.0.0",
"pyyaml>=6.0.2",
"progressbar2>=4.5.0",
"typing-extensions>=4.12.2",
"pytest-runner>=6.0.1",
"pandas>=2.2.3",
"scipy>=1.14.1",
"numpy>=2.0.0",
]
[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 = [
"pytest-check>=2.4.1",
"pytest-timeout>=2.3.1",
"pytest>=8.3.3",
]
dev = [
"bumpversion>=0.6.0",
"codacy-coverage>=1.3.11",
"coverage>=7.6.5",
"docopt>=0.6.2",
"docutils>=0.21.2",
"hypothesis>=6.118.8",
"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-check>=2.4.1",
"pytest-cov>=6.0.0",
"pytest-sugar>=1.0.0",
"pytest>=8.3.3",
"readme-renderer>=44.0",
"recommonmark>=0.7.1",
"tox>=4.23.2",
"twine>=5.1.1",
"wheel>=0.45.0",
]
[project.scripts] # Entry points
negmas = "negmas.scripts.app:cli"
negotiate = "negmas.scripts.negotiate:app"
negui = "negmas.gui.app:cli"
# --- Tool Configurations ---
[tool.bumpversion] # bumpversion config
current_version = "0.10.23"
delete_bookmark = true
commit = false
tag = false
# [tool.bumpversion.file:pyproject.toml] # Update pyproject.toml
# search = "version = \"{current_version}\""
# replace = "version = \"{new_version}\""
#
# [tool.bumpversion.file:negmas/__init__.py]
# search = "__version__ = \"{current_version}\""
# replace = "__version__ = \"{new_version}\""
#
# [tool.bumpversion.file:docs/conf.py]
# search = "version = \"{current_version}\""
# replace = "version = \"{new_version}\""
[tool.flake8]
exclude = ["docs"]
[tool.pytest.ini_options] # pytest config
# addopts = "--doctest-modules" # Example: If you use doctest
# testpaths = ["tests"] # Example: If you have a tests directory
collect_ignore = ['setup.py']
[tool.mypy]
warn_unused_configs = false
warn_incomplete_stub = true
check_untyped_defs = true
python_version = "3.10"
strict_optional = false
ignore_missing_imports = false
[[tool.mypy.overrides]] # mypy overrides
module = ["setup.*"]
check_untyped_defs = false