-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (98 loc) · 2.63 KB
/
pyproject.toml
File metadata and controls
108 lines (98 loc) · 2.63 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
[project]
name = "scml-agents"
version = "0.5.1"
description = "Agents submitted to the SCML competition or contributed by the community"
readme = "README.rst"
license = "GPL-2.0-or-later"
authors = [
{ name = "Yasser Mohammad", email = "yasserfarouk@gmail.com" }
]
keywords = ["negotiation", "mas", "multi-agent", "simulation", "AI"]
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",
]
requires-python = ">=3.11"
dependencies = [
"click>=6.0",
"scml>=0.7.7",
"negmas>=0.15.2",
"torch>=2.2.0", # Minimum version for macOS stability
"numpy",
"pulp",
"xgboost",
"tensorflow",
"python-constraint",
"prettytable",
"mip",
"stable-baselines3",
"tqdm",
"tensorboard>=2.20.0",
]
[project.urls]
Homepage = "https://github.com/yasserfarouk/scml-agents"
Repository = "https://github.com/yasserfarouk/scml-agents"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = [
"scml_agents/**/*",
"AUTHORS.rst",
"CONTRIBUTING.rst",
"HISTORY.rst",
"LICENSE",
"README.rst",
"MANIFEST.in",
]
exclude = [
"**/__pycache__",
"**/*.pyc",
"**/.DS_Store",
]
[tool.hatch.build.targets.wheel]
packages = ["scml_agents"]
# Include all data files (json, pkl, csv, etc.) in the wheel
artifacts = [
"scml_agents/**/*.json",
"scml_agents/**/*.pkl",
"scml_agents/**/*.csv",
"scml_agents/**/*.pt",
"scml_agents/**/*.pth",
"scml_agents/**/*.npy",
"scml_agents/**/*.npz",
"scml_agents/**/*.txt",
"scml_agents/**/*.yaml",
"scml_agents/**/*.yml",
]
[dependency-groups]
dev = [
"pytest>=7.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = ["ignore"]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = [
"E501", # Line too long - let formatter handle it
"E402", # Module level import not at top of file
"E721", # Type comparisons instead of isinstance()
"E722", # Bare except clauses
"E741", # Ambiguous variable names
"F401", # Unused imports (many are intentional re-exports)
"F403", # Star imports are OK in this codebase
"F405", # Names from star imports are OK
"F811", # Redefinition of unused name
"F821", # Undefined name (many are from star imports that ruff can't resolve)
]
[tool.ruff.lint.isort]
known-first-party = ["scml_agents"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"