Skip to content

Commit b44450c

Browse files
committed
Swap to UV
1 parent d414ab6 commit b44450c

File tree

3 files changed

+939
-38
lines changed

3 files changed

+939
-38
lines changed

pyproject.toml

+44-37
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
[tool.poetry]
1+
[project]
22
name = "PPG-Log"
33
version = "0.1.0"
44
description = "Helper Tools for PPG FlySight Flight Log Management"
5-
authors = ["sco1 <sco1.git@gmail.com>"]
5+
authors = [
6+
{name = "sco1", email = "sco1.git@gmail.com"}
7+
]
8+
maintainers = [
9+
{name = "sco1", email = "sco1.git@gmail.com"}
10+
]
611

712
readme = "README.md"
8-
homepage = "https://github.com/sco1/"
9-
repository = "https://github.com/sco1/ppg-log"
1013
classifiers = [
1114
"Development Status :: 3 - Alpha",
1215
"Intended Audience :: Developers",
@@ -21,42 +24,46 @@ classifiers = [
2124
"Typing :: Typed",
2225
]
2326

24-
include = [
25-
{path = "./CHANGELOG.md", format = "sdist"}
27+
requires-python = ">=3.10"
28+
dependencies = [
29+
"humanize~=4.10",
30+
"kaleido~=0.2, != 0.2.1.post1",
31+
"pandas~=2.2",
32+
"peewee~=3.17",
33+
"plotly~=5.24",
34+
"python-dotenv~=1.0",
35+
"sco1-misc~=0.1",
36+
"typer-slim~=0.12",
2637
]
2738

28-
[tool.poetry.urls]
29-
"Issue Tracker" = "https://github.com/sco1/ppg-log/issues"
39+
[project.urls]
40+
Homepage = "https://github.com/sco1/"
41+
Documentation = "https://github.com/sco1/ppg-log/blob/main/README.md"
42+
Repository = "https://github.com/sco1/ppg-log"
43+
Issues = "https://github.com/sco1/ppg-log/issues"
44+
Changelog = "https://github.com/sco1/ppg-log/blob/main/CHANGELOG.md"
3045

31-
[tool.poetry.scripts]
46+
[project.scripts]
3247
ppglog = "ppg_log.cli:ppglog_cli"
3348

34-
[tool.poetry.dependencies]
35-
python = "^3.10"
36-
humanize = "^4.1"
37-
kaleido = "^0.2, != 0.2.1.post1"
38-
pandas = "^2.2"
39-
peewee = "^3.15"
40-
plotly = "^5.8"
41-
python-dotenv = "^1.0"
42-
sco1-misc = "^0.1"
43-
typer-slim = "^0.12"
44-
45-
[tool.poetry.dev-dependencies]
46-
black = "^24.8"
47-
bump2version = "^1.0"
48-
cogapp = "^3.3"
49-
flake8 = "^7.0"
50-
flake8-annotations = "^3.0"
51-
isort = "^5.12"
52-
mypy = "^1.0"
53-
pre-commit = "^3.0"
54-
pytest = "^8.0"
55-
pytest-check = "^2.1"
56-
pytest-cov = "^5.0"
57-
pytest-randomly = "^3.12"
58-
ruff = "^0.6"
59-
tox = "^4.4"
49+
[tool.uv]
50+
dev-dependencies = [
51+
"black~=24.8",
52+
"bump2version~=1.0",
53+
"cogapp~=3.3",
54+
"flake8~=7.1",
55+
"flake8-annotations~=3.1",
56+
"isort~=5.13",
57+
"mypy~=1.11",
58+
"pre-commit~=3.8",
59+
"pytest~=8.3",
60+
"pytest-check~=2.4",
61+
"pytest-cov~=5.0",
62+
"pytest-randomly~=3.15",
63+
"ruff~=0.6",
64+
"tox~=4.18",
65+
"tox-uv~=1.11",
66+
]
6067

6168
[tool.black]
6269
line-length = 100
@@ -83,5 +90,5 @@ warn_unused_configs = true
8390
warn_unused_ignores = true
8491

8592
[build-system]
86-
requires = ["poetry-core>=1.2"]
87-
build-backend = "poetry.core.masonry.api"
93+
requires = ["hatchling"]
94+
build-backend = "hatchling.build"

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exclude_lines =
1717
if typing.TYPE_CHECKING:
1818

1919
[tox]
20-
envlist = clean,py{310,311,312,312},cog
20+
envlist = clean,py{310,311,312,313},cog
2121
skip_missing_interpreters = True
2222
minversion = 3.14.0
2323
isolated_build = True

0 commit comments

Comments
 (0)