Skip to content

Commit df33b51

Browse files
authored
chore(deps): update dependencies and format configuration files (#807)
1 parent 9100052 commit df33b51

File tree

2 files changed

+10
-32
lines changed

2 files changed

+10
-32
lines changed

pyproject.toml

Lines changed: 9 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ description = "BrainPy: Brain Dynamics Programming in Python"
88
readme = "README.md"
99
requires-python = ">=3.10"
1010
authors = [
11-
{name = "BrainPy Team", email = "chao.brain@qq.com"}
11+
{ name = "BrainPy Team", email = "chao.brain@qq.com" }
1212
]
13-
license = {text = "GPL-3.0 license"}
13+
license = { text = "GPL-3.0 license" }
1414
classifiers = [
1515
"Natural Language :: English",
1616
"Operating System :: OS Independent",
@@ -43,6 +43,7 @@ dependencies = [
4343
"brainunit",
4444
"brainevent>=0.0.4",
4545
"braintools>=0.0.9",
46+
'brainpy-state',
4647
]
4748

4849
dynamic = ['version']
@@ -54,37 +55,13 @@ dynamic = ['version']
5455
"Source Code" = "https://github.com/brainpy/BrainPy"
5556

5657
[project.optional-dependencies]
57-
cpu = [
58-
"jax[cpu]",
59-
"brainstate",
60-
"brainunit",
61-
"brainevent",
62-
"braintools",
63-
]
64-
cuda12 = [
65-
"jax[cuda12]",
66-
"brainstate",
67-
"brainunit",
68-
"brainevent",
69-
"braintools",
70-
]
71-
cuda13 = [
72-
"jax[cuda13]",
73-
"brainstate",
74-
"brainunit",
75-
"brainevent",
76-
"braintools",
77-
]
78-
tpu = [
79-
"jax[tpu]",
80-
"brainstate",
81-
"brainunit",
82-
"brainevent",
83-
"braintools",
84-
]
58+
cpu = ["jax[cpu]"]
59+
cuda12 = ["jax[cuda12]"]
60+
cuda13 = ["jax[cuda13]"]
61+
tpu = ["jax[tpu]"]
8562

8663
[tool.setuptools]
87-
package-dir = {"" = "."}
64+
package-dir = { "" = "." }
8865

8966
[tool.setuptools.packages.find]
9067
where = ["."]
@@ -102,4 +79,4 @@ exclude = [
10279
]
10380

10481
[tool.setuptools.dynamic]
105-
version = {attr = "brainpy.__version__"}
82+
version = { attr = "brainpy.__version__" }

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ brainunit
33
brainevent>=0.0.4
44
braintools>=0.1.0
55
brainstate>=0.2.7
6+
brainpy-state
67
jax
78
tqdm

0 commit comments

Comments
 (0)