Merge pull request #438 from rspeed/master

Fix OS X package building
This commit is contained in:
Jonathan Warren 2013-08-27 19:48:18 -07:00
commit ef43248752
2 changed files with 10 additions and 7 deletions

4
osx.sh Normal file → Executable file
View File

@ -12,12 +12,12 @@ if [[ -z "$1" ]]; then
exit
fi
echo "Creating OS X packages for Bitmessage. This script will ask for sudo to create the dmg volume"
echo "Creating OS X packages for Bitmessage."
cd src && python build_osx.py py2app
if [[ $? = "0" ]]; then
sudo hdiutil create -fs HFS+ -volname "Bitmessage" -srcfolder dist/Bitmessage.app dist/bitmessage-v$1.dmg
hdiutil create -fs HFS+ -volname "Bitmessage" -srcfolder dist/Bitmessage.app dist/bitmessage-v$1.dmg
else
echo "Problem creating Bitmessage.app, stopping."
exit

View File

@ -9,8 +9,11 @@ setup(
version = version,
app = mainscript,
setup_requires = ["py2app"],
options = dict(py2app=dict(
options = dict(
py2app = dict(
resources = ["images"],
includes = ['sip', 'PyQt4._qt'],
iconfile = "images/bitmessage.icns"
))
)
)
)