-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
102 lines (88 loc) · 2.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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61", "setuptools-scm"]
[project]
name = "emevo"
authors = [{name = "Yuji Kanagawa", email = "[email protected]"}]
description = "A simulation platform for Embodied Evolution of learning agents"
license = {text = "Apache2"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Life",
"Typing :: Typed",
]
requires-python = ">= 3.10"
dependencies = [
"chex >= 0.1.82",
"distrax >= 0.1",
"equinox >= 0.11",
"moderngl >= 5.6",
"moderngl-window >= 2.4",
"jax >= 0.4.26",
"pyarrow >= 9.0",
"pyserde[toml] >= 0.14",
"optax >= 0.1",
"phyjax2d >= 0.1.6",
]
dynamic = ["version"]
[project.optional-dependencies]
# pygraphviz >= 1.0 is also required to draw phylogenetic tree, but excluded here for Github CI
analysis = [
"matplotlib >= 3.0",
"networkx >= 3.0",
"polars >= 0.20",
"seaborn >= 0.12",
]
# Meta feature to install CUDA12 jax
cuda12 = ["jax[cuda12]"]
widget = ["PySide6 == 6.6.0"]
video = ["av >= 14.0"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
homepage = "https://github.com/oist/emevo"
bug-tracker = "https://github.com/oist/emevo/issues"
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools.dynamic]
version = {attr = "emevo.__version__"}
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "B", "UP"]
ignore = ["B905"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"src/emevo/reward_fn.py" = ["B023"]
# For typer
"experiments/*.py" = ["B008", "UP006", "UP007"]
"smoke-tests/*.py" = ["B008", "UP006", "UP007"]
"scripts/*.py" = ["UP006", "UP035", "UP007"]
[tool.uv]
dev-dependencies = [
"black >= 24.10.0",
"bqplot >= 0.12",
"ipykernel >= 6.29.5",
"isort >= 5.13.2",
"ipympl >= 0.9.4",
"jupyterlab >= 4.0",
"jupyterlab-code-formatter >= 3.0",
"treescope >= 0.1",
"pytest >= 8.3.3",
"typer >= 0.12",
"tqdm >= 4.6",
]
# For debug
# [tool.uv.sources]
# phyjax2d = { path = "../phyjax2d", editable = true }