Skip to content

Commit

Permalink
PICARD-1618: Include compiled astrcmp in macOS package
Browse files Browse the repository at this point in the history
  • Loading branch information
phw committed Oct 1, 2019
1 parent e50889e commit 87471b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion picard.spec
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ pyz = PYZ(a.pure, a.zipped_data,
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='picard',
# Avoid name clash between picard executable and picard module folder
name='picard' if os_name == 'Windows' else 'picard-run',
debug=False,
strip=False,
upx=False,
Expand Down
6 changes: 3 additions & 3 deletions scripts/package-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ VERSION=$(python3 -c 'import picard; print(picard.__version__)')

rm -rf dist build locale
python3 setup.py clean
python3 setup.py build_ext
python3 setup.py build_locales
pyinstaller picard.spec
python3 setup.py build
python3 setup.py build_ext -i
pyinstaller --noconfirm --clean picard.spec

CODESIGN=0
KEYCHAIN_PATH=picard.keychain
Expand Down

0 comments on commit 87471b5

Please sign in to comment.