Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (74 loc) · 1.71 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (74 loc) · 1.71 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "elsim"
dynamic = ["version"]
description = "Election simulation and analysis"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
authors = [
{ email = "endolith@gmail.com" },
]
keywords = [
"elections",
"voting-methods",
"ranked-choice-voting",
"approval-voting",
"social-choice",
"monte-carlo",
]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Sociology",
"Operating System :: OS Independent",
]
dependencies = [
"numpy>=1.17",
"scipy",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"hypothesis",
"ruff",
]
examples = [
"contourpy>=1.3",
"hypothesis",
"joblib",
"matplotlib>=3.8",
"pyehtplot",
"seaborn>=0.13",
"tabulate",
]
fast = [
"numba>=0.58",
]
docs = [
"sphinx>=6",
"myst-parser",
"sphinxcontrib-mermaid",
"numpydoc",
"sphinxcontrib-apidoc",
"linkify-it-py",
]
[project.urls]
Homepage = "https://github.com/endolith/elsim"
Documentation = "https://endolith.github.io/elsim/"
[tool.hatch.version]
path = "elsim/__init__.py"
[tool.pytest.ini_options]
addopts = "--doctest-modules --ignore=examples --cov --cov-report html --tb=short -m 'not slow'"
doctest_optionflags = ["ELLIPSIS"]
markers = [
"slow: run the example scripts in full; excluded by default (pytest -m slow)",
]