diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5525ba9..708db7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,11 +19,11 @@ jobs: with: python-version: '3.x' - # Install dependencies and PyInstaller for Ubuntu, macOS, and Windows + # Install dependencies and PyInstaller for Ubuntu, macOS, and Windows using requirements.txt - name: Install dependencies (Ubuntu/macOS/Windows) run: | python -m pip install --upgrade pip - pip install pyinstaller + pip install -r requirements.txt # Build with PyInstaller for Ubuntu, macOS, and Windows - name: Build with PyInstaller (Ubuntu/macOS/Windows) @@ -37,14 +37,14 @@ jobs: name: executable-${{ matrix.os }} path: dist/* - # Additional step: Build for Red Hat using Docker on Ubuntu + # Additional step: Build for Red Hat-compatible (via Docker) on Ubuntu - name: Build for Red Hat-compatible (via Docker) if: matrix.os == 'ubuntu-latest' run: | docker run --rm -v ${{ github.workspace }}:/src -w /src almalinux:8 \ bash -c "yum install -y python3 python3-devel gcc zlib-devel && \ python3 -m pip install wheel && \ - python3 -m pip install pyinstaller && \ + python3 -m pip install -r requirements.txt && \ pyinstaller --onefile --windowed SortingApp.py" # Upload the Red Hat-compatible build diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..897d8eb --- /dev/null +++ b/requirements.txt @@ -0,0 +1,56 @@ +altgraph==0.17.4 +cffi==1.17.1 +click==8.1.7 +cloup==3.0.5 +contourpy==1.3.0 +cycler==0.12.1 +Cython==3.0.11 +decorator==5.1.1 +fonttools==4.54.1 +glcontext==3.0.0 +isosurfaces==0.1.2 +kiwisolver==1.4.7 +macholib==1.16.3 +manim==0.18.1 +ManimPango==0.6.0 +mapbox_earcut==1.0.2 +markdown-it-py==3.0.0 +mdurl==0.1.2 +moderngl==5.11.1 +moderngl-window==2.4.6 +multipledispatch==1.0.0 +networkx==3.3 +numpy==1.26.4 +packaging==24.1 +pillow==10.4.0 +PyAudio==0.2.14 +pycairo==1.27.0 +pycparser==2.22 +pydub==0.25.1 +pyglet==2.0.17 +Pygments==2.18.0 +pyinstaller==6.10.0 +pyinstaller-hooks-contrib==2024.8 +pyobjc-core==10.3.1 +pyobjc-framework-Cocoa==10.3.1 +pyparsing==3.1.4 +PyQt6==6.7.1 +PyQt6-Charts==6.7.0 +PyQt6-Charts-Qt6==6.7.2 +PyQt6-Qt6==6.7.2 +PyQt6_sip==13.8.0 +pyrr==0.10.3 +python-dateutil==2.9.0.post0 +rich==13.8.1 +scipy==1.14.1 +screeninfo==0.8.1 +setuptools==75.1.0 +simpleaudio==1.0.4 +six==1.16.0 +skia-pathops==0.8.0.post1 +sounddevice==0.5.0 +srt==3.5.3 +svgelements==1.9.6 +tqdm==4.66.5 +typing_extensions==4.12.2 +watchdog==5.0.2