Skip to content

Commit

Permalink
Use uv to manage sub-projects
Browse files Browse the repository at this point in the history
  • Loading branch information
karlb committed Jan 30, 2025
1 parent ad55564 commit f09edab
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 19 deletions.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@ dependencies = [
"more-itertools>=10.6.0",
"sqlite-spellfix>=1.1",
"wikdict-compound==0.2",
"wikdict-query",
"wikdict-reader",
]
authors = [
{name = "Karl Bartel", email = "karl@karl.berlin"},
]

[tool.uv.sources]
wikdict-query = { workspace = true }
wikdict-reader = { workspace = true }

[tool.uv.workspace]
members = ["wikdict-query", "wikdict-reader"]
21 changes: 21 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions wikdict-query/poetry.lock

This file was deleted.

15 changes: 6 additions & 9 deletions wikdict-query/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[tool.poetry]
[project]
name = "wikdict-query"
version = "0.1.0"
description = "Query WikDict SQLite databases"
authors = ["Karl Bartel <karl@karl.berlin>"]
authors = [
{name = "Karl Bartel", email = "karl@karl.berlin"},
]
license = "MIT"

[tool.poetry.dependencies]
python = ">=3.7"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"
12 changes: 12 additions & 0 deletions wikdict-reader/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[project]
name = "wikdict-reader"
version = "0.1.0"
description = "Annotate texts with translations"
authors = [
{name = "Karl Bartel", email = "karl@karl.berlin"},
]
license = "MIT"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
1 change: 0 additions & 1 deletion wikdict_query

This file was deleted.

1 change: 0 additions & 1 deletion wikdict_reader

This file was deleted.

0 comments on commit f09edab

Please sign in to comment.