Update requirements.txt to be consistent with pyproject.toml #202
This file contains hidden or 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
| name: Auto build for windows | |
| on: | |
| push: | |
| branches: [ '*' ] | |
| tags: [ 'v*.*.*' ] | |
| pull_request: | |
| branches: [ '*' ] | |
| jobs: | |
| windows: | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| architecture: x64 | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| pip install pyinstaller dnspython[doh,doq] rich | |
| pip install -r requirements.txt | |
| - name: Package Application | |
| run: | | |
| pyinstaller accesser.spec | |
| env: | |
| PYTHONOPTIMIZE: 1 | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: windows | |
| path: ./dist/ | |
| windows-lite: | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| architecture: x64 | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| pip install pyinstaller | |
| pip install -r requirements.txt | |
| - name: Package Application | |
| run: | | |
| sed -i 's/^ \+\"https/# \"https/' accesser/rules.toml | |
| pyinstaller accesser.spec | |
| env: | |
| PYTHONOPTIMIZE: 1 | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: windows-lite | |
| path: ./dist/ |