pesterchum/setup-py2app.py

55 lines
1.3 KiB
Python

"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
from version import lexVersion
APP = ['pesterchum.py']
#DATA_FILES = ['pesterchum.js', 'profiles', 'themes', 'smilies', 'logs']
DATA_FILES = ['quirks', 'themes', 'smilies']
# TODO: Grep this version out of version.py
SHORT_VERSION = lexVersion(True) #'3.41.2B5'
LONG_VERSION = lexVersion() #'3.41.2 Beta 5 Bleeding Edge'
OPTIONS = {
'argv_emulation': False,
'prefer_ppc': True,
'includes': [
'sip',
'PyQt4',
'PyQt4.QtCore',
'PyQt4.QtGui'
],
'excludes': [
'PyQt4.QtDesigner',
'PyQt4.QtNetwork',
'PyQt4.QtOpenGL',
'PyQt4.QtScript',
'PyQt4.QtSql',
'PyQt4.QtTest',
'PyQt4.QtWebKit',
'PyQt4.QtXml',
'PyQt4.phonon'
],
'iconfile': 'trayicon32.icns'
,
'plist': {
'NSHumanReadableCopyright': 'GPL v3',
'CFBundleIdentifier': 'skaianet.Pesterchum',
}
}
setup(
name='Pesterchum',
description='A client for the pesterchum network',
version=LONG_VERSION,
license='GPL v3',
app=APP,
data_files=DATA_FILES,
platforms=['i386', 'x86_64'],
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)