Skip to content

Commit 3ef3f06

Browse files
committed
chore: Refactor project structure and package configuration
- Add new packages and package data to support audio transcription and summarization - Fix a typo in the file path for the schema file - Rename `transcribe.yaml` to `schema.yaml` for consistency - Include a new build target in the Makefile
1 parent 3c20e16 commit 3ef3f06

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.PHONY: build
2+
13
VENV := . venv/bin/activate &&
24
TAG := $(shell git describe --tags --abbrev=0)
35
VERSION ?= $(shell git describe --tags --always)

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,15 @@ dependencies = [
3030
"Bug Tracker" = "https://github.com/echohello-dev/transcribe-me/issues"
3131

3232
[tool.setuptools]
33-
packages = ["transcribe_me"]
33+
packages = [
34+
"transcribe_me",
35+
"transcribe_me.config",
36+
"transcribe_me.audio",
37+
"transcribe_me.summarization",
38+
]
39+
40+
[tool.setuptools.package-data]
41+
"transcribe_me.config" = ["*.yaml"]
3442

3543
[tool.setuptools.dynamic]
3644
version = { attr = "transcribe_me.__version__" }

transcribe_me/config/config_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def load_config() -> Dict[str, Any]:
173173
Returns:
174174
dict: The loaded configuration.
175175
"""
176-
schema_file = os.path.join(os.path.dirname(__file__), "schemas/transcribe.yaml")
176+
schema_file = os.path.join(os.path.dirname(__file__), "schema.yaml")
177177
config_file = DEFAULT_CONFIG_FILE
178178

179179
try:
File renamed without changes.

0 commit comments

Comments
 (0)