-
Notifications
You must be signed in to change notification settings - Fork 257
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (116 loc) · 4.03 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (116 loc) · 4.03 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
[build-system]
requires = ["setuptools", "wheel", "Cython"]
build-backend = "setuptools.build_meta"
[project]
name = "pygambit"
dynamic = ["version"]
description = "The package for computation in game theory"
readme = "src/README.rst"
requires-python = ">=3.10"
license = "GPL-2.0-or-later"
authors = [
{name = "Theodore Turocy", email = "ted.turocy@gmail.com"},
{name = "Rahul Savani", email = "rahul.savani@liverpool.ac.uk"}
]
keywords = ["game theory", "Nash equilibrium"]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.10",
"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",
"Topic :: Scientific/Engineering :: Mathematics"
]
dependencies = [
"numpy",
"scipy",
"pandas",
]
[project.optional-dependencies]
test = ["pytest", "pytest-subtests", "nbformat", "nbclient", "ipykernel"]
doc = [
"sphinx>=7.0",
"pydata-sphinx-theme",
"sphinx_design",
"sphinx-autobuild",
"nbsphinx",
"ipython",
"matplotlib",
"pickleshare",
"jupyter",
"jupyter-sphinx",
"open_spiel; sys_platform != 'win32'",
"sphinxcontrib-tikz",
"jupyter_sphinx",
"pyyaml",
"sphinxcontrib-bibtex",
"gtdraw",
]
[project.urls]
Homepage = "https://www.gambit-project.org"
Documentation = "https://gambitproject.readthedocs.io"
Repository = "https://github.com/gambitproject/gambit.git"
Issues = "https://github.com/gambitproject/gambit/issues"
Changelog = "https://github.com/gambitproject/gambit/blob/master/ChangeLog"
[tool.ruff]
line-length = 99
indent-width = 4
target-version = "py310"
include = ["setup.py", "src/pygambit/**/*.py", "tests/**/*.py, doc/tutorials/*.ipynb"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
"Q", # prefer double quotes
"W291", # trailing-whitespace
]
ignore = ["E203"]
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.cython-lint]
max-line-length = 99
[tool.pytest.ini_options]
addopts = "--strict-markers"
pythonpath = ["build_support/catalog"]
markers = [
"nash_enumpure_strategy: tests of enumpure_solve in pure strategies",
"nash_enumpure_agent: tests of enumpure_solve in pure behaviors",
"nash_enummixed_strategy: tests of enummixed_solve in mixed strategies",
"nash_enumpoly_behavior: tests of enumpoly_solve in mixed behaviors",
"nash_lcp_strategy: tests of lcp_solve in mixed strategies",
"nash_lcp_behavior: tests of lcp_solve in mixed behaviors",
"nash_lp_strategy: tests of lp_solve in mixed strategies",
"nash_lp_behavior: tests of lp_solve in mixed behaviors",
"nash_logit_strategy: tests of logit_solve in mixed strategies",
"nash_logit_behavior: tests of logit_solve in behavior strategies",
"nash_gnm_strategy: tests of gnm_solve in mixed strategies",
"nash_ipa_strategy: tests of lpa_solve in mixed strategies",
"nash_simpdiv: tests of simpdiv_solve (in mixed strategies)",
"nash_liap_strategy: tests of liap_solve (in mixed strategies)",
"nash_liap_agent: tests of liap_agent_solve (in mixed behaviors)",
"qre_logit: tests of logit_solve and related methods",
"qre_logit_lambda: tests of logit_solve_lambda",
"qre_logit_branch: tests of logit_solve_branch",
"nash: all tests of Nash equilibrium solvers",
"slow: all time-consuming tests",
"catalog_update: tests of build_support/catalog/update.py",
]
[tool.setuptools]
packages = ["pygambit"]
package-dir = { "pygambit" = "src/pygambit" }
[tool.setuptools.package-data]
pygambit = ["catalog_data/**/*"]
[tool.setuptools.dynamic]
version = {file = "build_support/GAMBIT_VERSION"}