V0.6 #852

Merged
Atheros1 merged 399 commits from v0.6 into master 2016-05-03 01:58:38 +02:00
Showing only changes of commit e5675987a7 - Show all commits

View File

@ -1,18 +1,27 @@
import os
from PyQt4 import QtCore
from setuptools import setup
name = "Bitmessage"
version = os.getenv("PYBITMESSAGEVERSION", "custom")
mainscript = ["bitmessagemain.py"]
DATA_FILES = [
('', ['sslkeys', 'images']),
('bitmsghash', ['bitmsghash/bitmsghash.cl', 'bitmsghash/bitmsghash.so']),
('translations', glob('translations/*.qm')),
('translations', glob(str(QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.TranslationsPath)) + '/qt_??.qm')),
('translations', glob(str(QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.TranslationsPath)) + '/qt_??_??.qm')),
]
setup(
name = name,
version = version,
app = mainscript,
data_files=DATA_FILES
setup_requires = ["py2app"],
options = dict(
py2app = dict(
resources = ["images", "translations", "bitmsghash", "sslkeys"],
includes = ['sip', 'PyQt4._qt'],
iconfile = "images/bitmessage.icns"
)