1) set the required textual version to version 8.2.8
2) generated installers which bundle the required .venv
This commit is contained in:
+18
-2
@@ -12,8 +12,10 @@ they come as separate streams).
|
||||
* [`yt-dlp`](https://pypi.org/project/yt-dlp/) and `ffmpeg` available on
|
||||
your `PATH` (`ffmpeg` is a system package, not a Python one — install it
|
||||
with your OS package manager, e.g. `apt install ffmpeg` /
|
||||
`brew install ffmpeg`).
|
||||
* Python packages from `requirements.txt`:
|
||||
`brew install ffmpeg`). Needed regardless of how you run the app,
|
||||
including the prebuilt installers below, since it's invoked as an
|
||||
external command, never imported as a Python library.
|
||||
* Python packages from `requirements.txt` (pins `textual==8.2.8`):
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
@@ -32,6 +34,15 @@ python main.py
|
||||
viewer. Works even while the Url/Name input is focused (it overrides
|
||||
`Input`'s own "select all" binding on that key).
|
||||
|
||||
## Installers
|
||||
|
||||
For distributing the app without asking someone to clone the repo and
|
||||
`pip install`, see [`packaging/README.md`](packaging/README.md):
|
||||
`packaging/build_pyinstaller.sh` builds a single native executable with
|
||||
Python bundled in, and `packaging/build_pex.sh` builds a small `.pex`
|
||||
zipapp that needs a system `python3` but no `pip install` step. Both
|
||||
still require `yt-dlp` and `ffmpeg` on `PATH` at runtime.
|
||||
|
||||
## Tests
|
||||
|
||||
```bash
|
||||
@@ -62,6 +73,9 @@ pytest
|
||||
main.py Entry point; wires up i18n, then starts the app
|
||||
app/
|
||||
tui_app.py The Textual App: layout + all screen wiring
|
||||
runtime_paths.py Resolves data-file locations the same way for a
|
||||
plain checkout, a PyInstaller build, and a pex
|
||||
zipapp (see packaging/README.md)
|
||||
styles.tcss External stylesheet for the app and every modal
|
||||
screen (loaded via DownloadManagerApp.CSS_PATH)
|
||||
models.py FormatEntry / VideoInfo + the filtering logic
|
||||
@@ -81,6 +95,8 @@ i18n/en/, i18n/de/ This application's own translation data
|
||||
(strings.json + help.md), as expected by the
|
||||
library at <project_root>/i18n/<lang>/
|
||||
tests/ pytest suite (see "Tests" below)
|
||||
packaging/ PyInstaller spec + build scripts for both
|
||||
installers (see "Installers" above)
|
||||
```
|
||||
|
||||
The i18n *library* is kept in `lib/i18n` (added to `sys.path` by
|
||||
|
||||
Reference in New Issue
Block a user