Skip to content

Commit

Permalink
Not --onefile
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Jul 26, 2024
1 parent 4fe7c6d commit b571149
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,14 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install cython pyinstaller
- name: Install Python development package
# For "Python.h"
run: |
winget install --id Python.DevelopmentKit
- name: Compile Cython code
run: |
cython spatial.py
gcc -shared -O2 spatial.c -o spatial.pyd
pip install pyinstaller
- name: Build executable
run: |
pyinstaller --windowed --onefile --name Spatial spatial.pyd
pyinstaller --windowed --name Spatial spatial.py
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: Spatial.exe
path: dist/Spatial.exe
name: Spatial
path: "dist/*"

0 comments on commit b571149

Please sign in to comment.