-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
117 lines (100 loc) · 2.36 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mesa_frames"
description = "An extension to the Mesa framework which uses pandas/Polars DataFrames for enhanced performance"
authors = [
{ name = "Project Mesa Team", email = "[email protected]" },
{ name = "Adam Amer"},
]
license = { text = "MIT" }
readme = "README.md"
keywords = [
"simulation",
"simulation-environment",
"gis",
"pandas",
"simulation-framework",
"agent-based-modeling",
"complex-systems",
"spatial-models",
"mesa",
"complexity-analysis",
"modeling-agents",
"agent-based-modelling"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Life",
]
dependencies = [
"numpy~=1.26",
"typing-extensions>=4.9", #typing-extensions.Self added in 4.9
## pandas
"pandas>=2.2",
"pyarrow", #for conversion to pandas
#"geopandas" (only after GeoGrid / ContinousSpace is implemented)
## polars
"polars>=1.0.0", #polars._typing (see mesa_frames.types) added in 1.0.0
#"geopolars" (currently in pre-alpha)
]
requires-python = ">=3.8"
dynamic = [
"version"
]
[project.urls]
Documentation = "https://projectmesa.github.io/mesa-frames"
Repository = "https://github.com/projectmesa/mesa-frames.git"
[project.optional-dependencies]
mkdocs = [
"mkdocs-material",
"mkdocs-jupyter",
"mkdocs-git-revision-date-localized-plugin",
"mkdocs-minify-plugin",
]
sphinx = [
"sphinx",
"sphinx-rtd-theme",
"numpydoc",
"pydata-sphinx-theme",
"sphinx-copybutton",
"sphinx-design",
"autodocsumm"
]
docs = [
"mesa_frames[mkdocs, sphinx]",
# Readme Script
"perfplot",
"seaborn"
]
test = [
"pytest",
"pytest-cov",
"typeguard",
]
dev = [
"mesa_frames[test, docs]",
"mesa",
"numba",
]
[tool.hatch.envs.test]
features = ["test"]
[tool.hatch.envs.dev] #Allows installing dev as virtual env
features = ["dev"]
[tool.hatch.build.targets.wheel]
packages = ["mesa_frames"]
[tool.hatch.version]
path = "mesa_frames/__init__.py"
[tool.ruff.lint]
select = ["D"]
ignore = ["D101", "D102", "D105"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
"examples/*" = ["D"]
"docs/*" = ["D"]