Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kliment/Printrun.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKliment Yanev <kliment.yanev@gmail.com>2020-10-01 18:20:41 +0300
committerKliment Yanev <kliment.yanev@gmail.com>2020-10-01 18:20:41 +0300
commitbd3fc5404503dd25941863b5980b92a288381e0e (patch)
tree0e961afaaeba79d7e60eefde42b9ff12810ae70d /.github
parent5dfd6225c525f2dbabdac242bd4fd59e00efc8ff (diff)
Try building with python.org python framework build but without venv
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/buildpackage-mac.yml16
1 files changed, 2 insertions, 14 deletions
diff --git a/.github/workflows/buildpackage-mac.yml b/.github/workflows/buildpackage-mac.yml
index cc2e71b..a06decd 100644
--- a/.github/workflows/buildpackage-mac.yml
+++ b/.github/workflows/buildpackage-mac.yml
@@ -24,29 +24,17 @@ jobs:
run: |
curl https://www.python.org/ftp/python/3.8.6/python-3.8.6-macosx10.9.pkg --output pythonInstaller.pkg
sudo installer -pkg pythonInstaller.pkg -target /
- python3 --version
- python3 -c "import platform; print('macOS version:', platform.mac_ver()[0])"
- - name: Setup venv
- run: |
- python3 -m venv venv
- source venv/bin/activate
- python --version
- 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
+ python3 -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
+ python3 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