Skip to content

Commit

Permalink
remove bin and equalize with pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mdavid-m committed Nov 21, 2024
1 parent 3e99aa5 commit 5599c42
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,22 +223,26 @@ jobs:
- name: Copy everything to dist directory
run: |
mkdir dist
mkdir dist/bin
cp -r .streamlit dist/.streamlit
cp -r content dist/content
cp -r docs dist/docs
cp -r src dist/src
cp -r assets dist/assets
cp -r example-data dist/example-data
cp openms-bin/*.dll streamlit_exe/bin/
cp -r share dist/share
cp app.py dist/
mkdir streamlit_exe
mv python-${{ env.PYTHON_VERSION }} streamlit_exe
mv run_app.bat streamlit_exe
cp -r src streamlit_exe
cp -r gdpr_consent streamlit_exe
cp -r content streamlit_exe
cp -r docs streamlit_exe
cp -r assets streamlit_exe
cp -r example-data streamlit_exe
cp openms-bin/*.dll streamlit_exe
cp -r .streamlit streamlit_exe
cp -r share streamlit_exe/share
cp app.py streamlit_exe
cp settings.json streamlit_exe
cp default-parameters.json streamlit_exe
$files = $env:TOPP_TOOLS -split ' '
foreach ($file in $files) {
Copy-Item "openms-bin/${file}.exe" -Destination "dist/bin/${file}.exe"
Copy-Item "openms-bin/${file}.exe" -Destination "streamlit_exe/${file}.exe"
}
- name: Modify .spec file
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-windows-executable-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ jobs:
- name: Create All-in-one executable folder
run: |
mkdir streamlit_exe
mkdir streamlit_exe/bin
mv python-${{ env.PYTHON_VERSION }} streamlit_exe
mv run_app.bat streamlit_exe
Expand Down

0 comments on commit 5599c42

Please sign in to comment.