This guide explains how to build FastFlix executables on Windows.
-
Python 3.13 or higher
- Download from python.org
- Make sure to check "Add Python to PATH" during installation
-
Git (to clone/update the repository)
- Download from git-scm.com
Navigate to where you want to clone/have the FastFlix repository:
cd C:\path\to\your\projects
git clone https://github.com/cdgriffith/FastFlix.git
cd FastFlixOr if you already have it:
cd C:\path\to\FastFlixpython -m venv venv
venv\Scripts\activateYou should see (venv) in your command prompt.
pip install --upgrade pip
pip install -e ".[dev]"This installs FastFlix in editable mode with all development dependencies including PyInstaller.
You have two options:
pyinstaller FastFlix_Windows_OneFile.specThe executable will be in: dist\FastFlix.exe
pyinstaller FastFlix_Windows_Installer.specThe executable will be in: dist\FastFlix\FastFlix.exe
cd dist
FastFlix.exeOr for the installer version:
cd dist\FastFlix
FastFlix.exeIf you just want to test changes without building an executable:
python -m fastflixIf you get import errors, try reinstalling:
pip install --upgrade --force-reinstall -e ".[dev]"- Make sure you're in the FastFlix root directory
- Ensure the virtual environment is activated (you see
(venv)) - Try deleting
buildanddistfolders and rebuilding:
rmdir /s /q build dist
pyinstaller FastFlix_Windows_OneFile.specThe FastFlix executable doesn't include FFmpeg. You need to:
- Download FFmpeg from ffmpeg.org
- Extract it somewhere
- Add the
binfolder to your PATH, or configure it in FastFlix settings
Due to an upstream issue in pgsrip v0.1.12, PGS to SRT OCR conversion does not work in PyInstaller-built executables. The feature works perfectly when running from source (python -m fastflix).
If you need PGS OCR functionality, please run FastFlix from source instead of using the compiled executable.
- The build process creates a
portable.pyfile temporarily (it's removed after) - The
.specfiles automatically collect all dependencies frompyproject.toml - The icon is located at
fastflix\data\icon.ico