Skip to content

Commit

Permalink
pip deps added for build
Browse files Browse the repository at this point in the history
  • Loading branch information
zehdari committed Sep 28, 2024
1 parent 1fd4e08 commit bc09e75
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
56 changes: 56 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bc09e75

Please sign in to comment.