pesterchum/setup-py2app.py

55 lines
1.3 KiB
Python
Raw Normal View History

2011-03-01 22:03:51 -05:00
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
from version import lexVersion
2011-03-01 22:03:51 -05:00
APP = ['pesterchum.py']
2011-07-09 11:17:52 -04:00
#DATA_FILES = ['pesterchum.js', 'profiles', 'themes', 'smilies', 'logs']
DATA_FILES = ['quirks', 'themes', 'smilies']
2011-07-09 11:17:52 -04:00
# 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'
2011-07-09 11:17:52 -04:00
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',
}
2011-07-09 11:17:52 -04:00
}
2011-03-01 22:03:51 -05:00
setup(
2011-07-09 11:17:52 -04:00
name='Pesterchum',
description='A client for the pesterchum network',
version=LONG_VERSION,
license='GPL v3',
2011-03-01 22:03:51 -05:00
app=APP,
data_files=DATA_FILES,
2011-07-09 11:17:52 -04:00
platforms=['i386', 'x86_64'],
2011-03-01 22:03:51 -05:00
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)