From e95ec93509022ccb3b9873b2fd972426612515e2 Mon Sep 17 00:00:00 2001 From: "Elf M. Sternberg" Date: Tue, 8 Nov 2022 11:34:52 -0800 Subject: [PATCH] Moved to PDM --- .gitignore | 2 ++ .pdm.toml | 2 ++ pdm.lock | 26 ++++++++++++++++++++++++++ pyproject.toml | 18 ++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 .gitignore create mode 100644 .pdm.toml create mode 100644 pdm.lock create mode 100644 pyproject.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..edd9d60 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build/ +dist/ diff --git a/.pdm.toml b/.pdm.toml new file mode 100644 index 0000000..8ac8ae0 --- /dev/null +++ b/.pdm.toml @@ -0,0 +1,2 @@ +[python] +path = "/home/elf/projects/TCDump/.venv/bin/python" diff --git a/pdm.lock b/pdm.lock new file mode 100644 index 0000000..5865eca --- /dev/null +++ b/pdm.lock @@ -0,0 +1,26 @@ +[[package]] +name = "six" +version = "1.16.0" +requires_python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +summary = "Python 2 and 3 compatibility utilities" + +[[package]] +name = "whisper" +version = "1.1.10" +summary = "Fixed size round-robin style database" +dependencies = [ + "six", +] + +[metadata] +lock_version = "4.0" +content_hash = "sha256:2cd472d5ed1fcbcc94dc38b056f187c93eed0d4745469ed3299bd81160a009fa" + +[metadata.files] +"six 1.16.0" = [ + {url = "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, + {url = "https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, +] +"whisper 1.1.10" = [ + {url = "https://files.pythonhosted.org/packages/b4/c3/913cdd13ef3d882fa483981378a08cd0f018fd8dd95b6bf006b9bf1cfbc9/whisper-1.1.10.tar.gz", hash = "sha256:435b4fb843c4c752719bdf0511a652d5be710e9bb35ad9ebe3b133268ee31c44"}, +] diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..45833e7 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,18 @@ +[project] +name = "tcdump" +version = "0.0.1" +description = "Wrapper around whisper for transcribing data from a dictation device" +authors = [ + {name = "Elf M. Sternberg", email = "elf.sternberg@gmail.com"}, +] +dependencies = [ + "whisper>=1.1.10", +] +requires-python = ">=3.7" +license = {text = "MIT"} + +[build-system] +requires = ["pdm-pep517>=1.0.0"] +build-backend = "pdm.pep517.api" + +[tool.pdm]