Skip to content

Commit 06b5389

Browse files
committed
updated project to work with uv
1 parent 4a4d4ec commit 06b5389

File tree

1 file changed

+32
-21
lines changed

1 file changed

+32
-21
lines changed

pyproject.toml

Lines changed: 32 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,40 @@
1-
[tool.poetry]
1+
[project]
22
name = "synth"
33
version = "0.1.0"
44
description = "Automated Synthesis Framework"
5-
authors = ["Théo Matricon <theomatricon@gmail.com>", "Nathanaël Fijalkow <nathanael.fijalkow@gmail.com>"]
6-
license = "MIT"
5+
authors = [
6+
{ name = "Théo Matricon", email = "theomatricon@gmail.com" },
7+
{ name = "Nathanaël Fijalkow", email = "nathanael.fijalkow@gmail.com" },
8+
]
9+
requires-python = ">=3.10"
710
readme = "README.md"
8-
repository = "https://github.com/SynthesisLab/DeepSynth2"
11+
license = "MIT"
12+
dependencies = [
13+
"torch>=1.13.1",
14+
"tensorboard>=0",
15+
"cython>=0.29",
16+
"numpy>=1.22",
17+
"vose",
18+
"colorama>=0.4.4",
19+
"tqdm>=4.63.0",
20+
"matplotlib>=3.5.1",
21+
"pltpublish>=0.1.0",
22+
"gymnasium[mujoco, box2d]"
23+
]
24+
25+
[project.urls]
26+
Repository = "https://github.com/SynthesisLab/DeepSynth2"
927

10-
[tool.poetry.dependencies]
11-
python = ">=3.8"
12-
torch = ">=1.13.1"
13-
tensorboard = ">=0"
14-
cython = ">=0.29"
15-
numpy = ">=1.22"
16-
vose = { git = "https://github.com/Theomat/vose.git"}
17-
colorama = ">=0.4.4"
18-
tqdm = ">=4.63.0"
19-
matplotlib = ">=3.5.1"
20-
pltpublish = ">=0.1.0"
28+
[dependency-groups]
29+
dev = [
30+
"ruff>= 0.4.3",
31+
"pytest>=7.2.0",
32+
"mypy>=0.910",
33+
]
2134

22-
[tool.poetry.dev-dependencies]
23-
ruff = ">= 0.4.3"
24-
pytest = ">=7.2.0"
25-
mypy = ">=0.910"
35+
[tool.uv.sources]
36+
vose = { git = "https://github.com/Theomat/vose.git" }
2637

2738
[build-system]
28-
requires = ["poetry-core>=1.0.0"]
29-
build-backend = "poetry.core.masonry.api"
39+
requires = ["hatchling"]
40+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)