Skip to content

Commit

Permalink
Try creating requirements.txt inside Windows using Conda
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaarnio committed May 8, 2024
1 parent 549f000 commit b4bd90e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,24 @@ jobs:
pyinstaller-build:
runs-on: windows-latest
steps:
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.9
environment-file: environment.yml
activate-environment: eis_toolkit
auto-activate-base: false
mamba-version: "*"
channel-priority: true
- name: Create requirements.txt
run: |
conda install pip
pip freeze > requirements.txt
- name: Create Executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.9.13'
spec: 'building/eis_toolkit_binary.spec'
requirements: 'building/requirements.txt'
requirements: 'requirements.txt'
upload_exe_with_name: 'EIS_Toolkit_executable'
options: --onefile, --name "EIS Toolkit executable", --windowed,

0 comments on commit b4bd90e

Please sign in to comment.