Add build requirements.txt
This commit is contained in:
8
.github/workflows/publish-release.yml
vendored
8
.github/workflows/publish-release.yml
vendored
@@ -30,13 +30,13 @@ jobs:
|
|||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~\AppData\Local\pip\Cache
|
path: ~\AppData\Local\pip\Cache
|
||||||
key: ${{ runner.os }}-pip-${{ steps.get_version.outputs.VERSION }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('package/requirements-windows.txt') }}
|
||||||
restore-keys: ${{ runner.os }}-pip-
|
restore-keys: ${{ runner.os }}-pip-
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pyopenssl pycryptodomex pywin32 pyinstaller
|
pip install -r package/requirements-windows.txt
|
||||||
|
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
run: |
|
run: |
|
||||||
@@ -89,13 +89,13 @@ jobs:
|
|||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/Library/Caches/pip
|
path: ~/Library/Caches/pip
|
||||||
key: ${{ runner.os }}-pip-${{ steps.get_version.outputs.VERSION }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('package/requirements-macos.txt') }}
|
||||||
restore-keys: ${{ runner.os }}-pip-
|
restore-keys: ${{ runner.os }}-pip-
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pyopenssl pycryptodomex pyinstaller pyobjc
|
pip install -r package/requirements-macos.txt
|
||||||
|
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
run: |
|
run: |
|
||||||
|
4
package/requirements-macos.txt
Normal file
4
package/requirements-macos.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
pyinstaller
|
||||||
|
pyopenssl
|
||||||
|
pycryptodomex
|
||||||
|
pyobjc
|
4
package/requirements-windows.txt
Normal file
4
package/requirements-windows.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
pyinstaller
|
||||||
|
pyopenssl
|
||||||
|
pycryptodomex
|
||||||
|
pywin32
|
Reference in New Issue
Block a user