Skip to content

Commit

Permalink
chore: Update project configurations and build scripts
Browse files Browse the repository at this point in the history
- Ignore the `dist/` directory in the gitignore file
- Added `transcribe_me` to the `packages` list in the `setuptools` section of `pyproject.toml`
- Updated the version to `0.1.0` in the `project` section of `pyproject.toml`
- Update the `publish` target in `Makefile` to depend on `build`
- Introduce a new `build` target in `Makefile` to create a distribution
  • Loading branch information
johnnyhuy committed Apr 17, 2024
1 parent 9bac372 commit cb3af24
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ venv
build
__pycache__
.DS_Store
archive/
archive/
dist/
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ install-cli: check-ffmpeg
test: install
$(VENV) python -m unittest discover -s tests

publish: install
$(VENV) python -m pip install --upgrade build twine
build: install
$(VENV) python -m build

publish: build
$(VENV) python -m twine upload dist/*

transcribe: install
$(VENV) python transcribe_me/main.py
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[tool.setuptools]
packages = ["transcribe_me"]

[project]
name = "transcribe-me"
version = "0.1.0"
Expand Down

0 comments on commit cb3af24

Please sign in to comment.