OSX build fixes

- include bitmsghash so that it bundles the C library PoW
- include sslkeys so that SSL works in the bundle
- PyBitmessage version now propagated from the shell build script
This commit is contained in:
mailchuck 2015-11-14 13:11:33 +01:00
parent 9dc9718f26
commit 075f179299
Signed by untrusted user who does not match committer: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
2 changed files with 5 additions and 2 deletions

2
osx.sh
View File

@ -14,6 +14,8 @@ fi
echo "Creating OS X packages for Bitmessage."
export PYBITMESSAGEVERSION=$1
cd src && python2.7 build_osx.py py2app
if [[ $? = "0" ]]; then

View File

@ -1,7 +1,8 @@
import os
from setuptools import setup
name = "Bitmessage"
version = "0.4.4"
version = os.getenv("PYBITMESSAGEVERSION", "custom")
mainscript = ["bitmessagemain.py"]
setup(
@ -11,7 +12,7 @@ setup(
setup_requires = ["py2app"],
options = dict(
py2app = dict(
resources = ["images", "translations"],
resources = ["images", "translations", "bitmsghash", "sslkeys"],
includes = ['sip', 'PyQt4._qt'],
iconfile = "images/bitmessage.icns"
)