This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #266 from srevinsaju/work/srevin/pywin32
feat: add pywin32 dependency only on windows systems
- Loading branch information
Showing
5 changed files
with
181 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,22 +114,22 @@ jobs: | |
- name: Setup Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.9 | ||
python-version: '3.9' | ||
architecture: ${{ matrix.arch }} | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: | | ||
pip3 install --upgrade pip wheel | ||
pip3 install --upgrade poetry PyInstaller ${{ matrix.qt }} | ||
pip3 install --upgrade pip wheel --user | ||
pip3 install --upgrade --user poetry PyInstaller ${{ matrix.qt }} | ||
poetry install -E ${{ matrix.qt }} | ||
poetry build | ||
pip3 install dist/*.whl | ||
- name: Create .exe | ||
run: | | ||
echo "from guiscrcpy.cli import cli; cli()" > entry.py | ||
python -m PyInstaller -n guiscrcpy-${{ matrix.qt }}-${{ matrix.arch }} .\entry.py --onefile -i guiscrcpy\ui\icons\guiscrcpy_logo_SRj_icon.ico | ||
python -m PyInstaller -n guiscrcpy-${{ matrix.qt }}-${{ matrix.arch }} .\entry.py --onefile -i guiscrcpy\ui\icons\guiscrcpy_logo_SRj_icon.ico --hidden-import pywin32 | ||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
|
@@ -154,7 +154,7 @@ jobs: | |
- name: Setup Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.9 | ||
python-version: '3.9' | ||
architecture: ${{ matrix.arch }} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.