Skip to content

Commit aa2c2ec

Browse files
committed
build: ♻️ switch to uv from poetry
1 parent 2f26035 commit aa2c2ec

File tree

4 files changed

+1266
-23
lines changed

4 files changed

+1266
-23
lines changed

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def main():
2+
print("Hello from example-rhesus-monkeys!")
3+
4+
5+
if __name__ == "__main__":
6+
main()

pyproject.toml

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,35 @@
1-
[tool.poetry]
1+
[project]
22
name = "example-rhesus-monkeys"
3-
version = "0.0.1"
4-
description = ""
3+
version = "0.1.0"
4+
description = "Add your description here"
55
authors = [
6-
"Luke W. Johnston <lwjohnst@gmail.com>",
7-
"Kristiane Beicher <kris.beicher@clin.au.dk>",
6+
{name = "Luke W. Johnston", email = "lwjohnst@gmail.com" },
7+
{name = "Kristiane Beicher", email = "kris.beicher@clin.au.dk" },
88
]
99
maintainers = [
10-
"Luke W. Johnston <lwjohnst@gmail.com>",
11-
"Kristiane Beicher <kris.beicher@clin.au.dk>",
10+
{name = "Luke W. Johnston", email = "lwjohnst@gmail.com" },
11+
{name = "Kristiane Beicher", email = "kris.beicher@clin.au.dk" },
1212
]
1313
readme = "README.md"
14-
repository = "https://github.com/seedcase-project/example-rhesus-monkeys"
1514
license = "MIT"
15+
license-files = ["LICENSE.md"]
16+
requires-python = ">=3.12"
17+
dependencies = [
18+
"polars>=1.27.0",
19+
"pyjanitor>=0.31.0",
20+
"seedcase-sprout",
21+
]
1622

17-
[tool.poetry.urls]
18-
"Bug Tracker" = "https://github.com/seedcase-project/example-rhesus-monkeys/issues"
19-
20-
[tool.poetry.dependencies]
21-
python = "^3.12"
22-
polars = "^1.24.0"
23-
pyjanitor = "^0.30.0"
24-
seedcase-sprout = {git = "https://github.com/seedcase-project/seedcase-sprout.git"}
25-
requests = "^2.32.3"
26-
fastexcel = "^0.13.0"
23+
[project.urls]
24+
issues = "https://github.com/seedcase-project/example-rhesus-monkeys/issues"
25+
repository = "https://github.com/seedcase-project/example-rhesus-monkeys"
2726

28-
[tool.poetry.group.dev.dependencies]
29-
ruff = "^0.6.2"
27+
[tool.uv.sources]
28+
seedcase-sprout = { git = "https://github.com/seedcase-project/seedcase-sprout" }
3029

31-
[build-system]
32-
requires = ["poetry-core"]
33-
build-backend = "poetry.core.masonry.api"
30+
[dependency-groups]
31+
dev = [
32+
"commitizen>=4.5.1",
33+
"pre-commit>=4.2.0",
34+
"ruff>=0.11.4",
35+
]

0 commit comments

Comments
 (0)