Skip to content

Commit

Permalink
Use venv for all actions for framework python
Browse files Browse the repository at this point in the history
  • Loading branch information
kliment committed Oct 1, 2020
1 parent db8531d commit 5dfd622
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/buildpackage-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,19 @@ jobs:
python -c "import sys; print('\n'.join(sys.path))"
- name: Install dependencies
run: |
source venv/bin/activate
python -m pip install --upgrade pip pyinstaller setuptools wheel cython cffi -r requirements.txt
- name: Build Cython ext
run: |
source venv/bin/activate
python setup.py build_ext --inplace
- name: Make pyinstaller spec
run: |
source venv/bin/activate
pyi-makespec --hidden-import="pkg_resources.py2_warn" -F --add-data images/\*:images --add-data \*.png:. --add-data \*.ico:. -w -i P-face.icns pronterface.py
- name: Make pyinstaller build
run: |
source venv/bin/activate
pyinstaller --windowed --clean pronterface.spec -y
- name: Upload artifacts for inspection
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 5dfd622

Please sign in to comment.