Skip to content

Commit

Permalink
Merge pull request #92 from MannLabs/fix-fasta-install-location
Browse files Browse the repository at this point in the history
Fix fasta install location
  • Loading branch information
mschwoer authored Feb 19, 2025
2 parents 481bb5b + 8c9f45a commit 524497c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion release/macos/build_package_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cp release/macos/alphamap_terminal ${CONTENTS_FOLDER}/MacOS
cp ./LICENSE ${CONTENTS_FOLDER}/Resources/LICENSE
cp release/logos/alpha_logo.png ${CONTENTS_FOLDER}/Resources

# If needed, include additional source such as e.g.:
# copy files excluded in MANIFEST.in
mkdir -p ${CONTENTS_FOLDER}/MacOS/_internal/alphamap/data
cp alphamap/data/*.fasta ${CONTENTS_FOLDER}/MacOS/_internal/alphamap/data
cp alphamap/data/*.csv ${CONTENTS_FOLDER}/MacOS/_internal/alphamap/data
Expand Down
9 changes: 5 additions & 4 deletions release/windows/build_installer_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ Remove-Item -Recurse -Force -ErrorAction SilentlyContinue ./dist_pyinstaller
$WHL_NAME = (Get-ChildItem -Path "dist" -Filter "*.whl").Name
pip install "dist/$WHL_NAME[stable,structuremap-stable]"

New-Item -ItemType Directory -Force -Path dist/alphamap_gui/alphamap/data
Copy-Item alphamap/data/*.fasta dist/alphamap_gui/alphamap/data
Copy-Item alphamap/data/*.csv dist/alphamap_gui/alphamap/data

# Creating the stand-alone pyinstaller folder
pyinstaller release/pyinstaller/alphamap.spec --distpath dist_pyinstaller --workpath build_pyinstaller -y

# copy files excluded in MANIFEST.in
New-Item -ItemType Directory -Force -Path dist_pyinstaller/alphamap/data
Copy-Item alphamap/data/*.fasta dist_pyinstaller/alphamap/data
Copy-Item alphamap/data/*.csv dist_pyinstaller/alphamap/data

0 comments on commit 524497c

Please sign in to comment.