Skip to content

Commit afac05a

Browse files
committed
pyproject: convert to uv
1 parent 3064c41 commit afac05a

File tree

4 files changed

+176
-161
lines changed

4 files changed

+176
-161
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
__pycache__/
22
*.pyc
3+
4+
build/
5+
dist/

poetry.lock

Lines changed: 0 additions & 143 deletions
This file was deleted.

pyproject.toml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
[tool.poetry]
1+
[project]
22
name = "mpy-cross-multi"
33
version = "2.0.0"
44
description = "MicroPython cross-compiler targeting multiple runtime versions."
5-
authors = ["David Lechner <[email protected]>"]
6-
license = "MIT"
5+
authors = [{ name = "David Lechner", email = "[email protected]" }]
6+
requires-python = ">=3.9"
77
readme = "README.md"
8-
homepage = "https://github.com/pybricks/python-mpy-cross-multi"
8+
license = "MIT"
9+
dependencies = [
10+
"mpy-cross-v5>=1.1.0",
11+
"mpy-cross-v6>=1.1.0",
12+
"mpy-cross-v6.1>=1.0.1",
13+
"mpy-cross-v6.2>=1.0.0",
14+
"mpy-cross-v6.3>=1.0.0",
15+
"semver>=3.0.2",
16+
]
917

10-
[tool.poetry.scripts]
11-
"mpy-cross-multi" = "mpy_cross_multi.__main__:_run"
18+
[project.urls]
19+
Homepage = "https://github.com/pybricks/python-mpy-cross-multi"
1220

13-
[tool.poetry.dependencies]
14-
python = ">=3.9"
15-
mpy-cross-v5 = ">=1.1.0"
16-
mpy-cross-v6 = ">=1.1.0"
17-
"mpy-cross-v6.1" = ">=1.0.1"
18-
"mpy-cross-v6.2" = ">=1.0.0"
19-
"mpy-cross-v6.3" = ">=1.0.0"
20-
semver = ">=3.0.2"
21+
[project.scripts]
22+
mpy-cross-multi = "mpy_cross_multi.__main__:_run"
2123

22-
[tool.poetry.group.dev.dependencies]
23-
ruff = ">=0.12.8"
24+
[dependency-groups]
25+
dev = ["ruff>=0.12.8"]
2426

2527
[build-system]
26-
requires = ["poetry-core"]
27-
build-backend = "poetry.core.masonry.api"
28+
requires = ["hatchling"]
29+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)