Skip to content

Commit

Permalink
proto: use uv / setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
phlmn committed Jan 9, 2025
1 parent 104f1f0 commit 21a5a4d
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 10 deletions.
7 changes: 2 additions & 5 deletions proto/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
__pypackages__/
__pycache__/
.pdm.toml
pdm.lock

.data/
*.egg-info
dist/
9 changes: 4 additions & 5 deletions proto/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ requires-python = ">=3.11"
readme = "README.md"
license = {text = "AGPL-3.0"}

[tool.pdm.build]
package-dir = './'
includes = ["transcribee_proto"]
[tool.setuptools]
packages = ["transcribee_proto"]

[build-system]
requires = ["pdm-pep517>=1.0"]
build-backend = "pdm.pep517.api"
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
55 changes: 55 additions & 0 deletions proto/uv.lock

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

1 change: 1 addition & 0 deletions worker/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ __pycache__/
.venv/
*.egg-info
transcribee_worker/.data
dist/

0 comments on commit 21a5a4d

Please sign in to comment.