PyBitmessage-2021-04-27/src/build_osx.py
mailchuck 1db7635893 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
2016-05-02 15:00:21 +02:00

21 lines
482 B
Python

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