Skip to content

Update GLiNet_Download.py #51

Update GLiNet_Download.py

Update GLiNet_Download.py #51

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
pull_request:
permissions:
contents: read
jobs:
build:
#runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install argparse
pip install aiohttp
pip install asyncio
pip install bs4
pip install ftplib
pip install fuzzywuzzy
pip install python-Levenshtein
pip install Pillow
pip install PIL
pip install PIL.Image
pip install psutil
pip install pyinstaller
pip install pyppeteer
pip install pyuac
pip install pywin32
pip install pyyaml
pip install questionary
pip install tqdm
pip install webbrowser
pip install win32api
pip intsall win32serviceutil
pip install winshell
if (Test-Path requirements.txt) {pip install -r requirements.txt}
shell: pwsh
- name: Create Executable
run: pyinstaller --onefile --hidden-import=PIL.Image,PIL._tkinter_finder main.py
- name: Upload Executable
uses: actions/upload-artifact@v2
with:
name: main.exe
path: dist/main.exe