Skip to content

Commit

Permalink
refac: use poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
melchor629 committed May 26, 2024
1 parent 7bc46da commit 7ce37f4
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 167 deletions.
10 changes: 0 additions & 10 deletions Pipfile

This file was deleted.

129 changes: 0 additions & 129 deletions Pipfile.lock

This file was deleted.

7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A small utility that generates a stream of images simulating the good ol' DVD sc

## Requirements

- Python 3.7 or higher
- Python 3.11 or higher
- [`ffmpeg`][ffmpeg] installed and accessible

## Installation
Expand Down Expand Up @@ -41,7 +41,7 @@ dvd --width 3840 --height 2160 --fps 60 --duration 36000 -- \
### Live streaming

```bash
dvd --width 1920 --height 1080 --fps 30 -- \
dvd --width 1920 --height 1080 --fps 30 --live -- \
# extra input: blank audio
-f lavfi -i 'anullsrc=channel_layout=stereo:sample_rate=44100' \
# join audio and generated images stream
Expand All @@ -60,7 +60,8 @@ dvd --width 1920 --height 1080 --fps 30 -- \

## Develop

To setup the development environment, install it using `pipenv install --dev` and start developing from it. To build the package, run `python -m build` (or `pipenv run python -m build`) to generate the wheel package.
To setup the development environment, install it using `poetry install` and start developing from it. To build the package, run `poetry build` to generate the wheel package. To install poetry, follow [their guide][poetry].

[ffmpeg]: https://ffmpeg.org
[releases-page]: https://github.com/MajorcaDevs/dvd/releases
[poetry]: https://python-poetry.org/docs/
Loading

0 comments on commit 7ce37f4

Please sign in to comment.