2017-09-07 17:37:03 +00:00
|
|
|
"""
|
|
|
|
This is a setup.py script generated by py2applet
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
python setup.py py2app
|
|
|
|
"""
|
|
|
|
|
|
|
|
from setuptools import setup
|
|
|
|
from glob import glob
|
|
|
|
import syncplay
|
|
|
|
|
|
|
|
APP = ['syncplayClient.py']
|
|
|
|
DATA_FILES = [
|
2017-09-18 20:57:43 +00:00
|
|
|
('resources', glob('resources/*.png') + glob('resources/*.txt')),
|
2017-09-07 17:37:03 +00:00
|
|
|
]
|
|
|
|
OPTIONS = {
|
|
|
|
'iconfile':'resources/icon.icns',
|
2017-09-28 14:24:20 +00:00
|
|
|
'qt_plugins': ['platforms/libqcocoa.dylib', 'platforms/libqminimal.dylib','platforms/libqoffscreen.dylib'],
|
2017-09-07 17:37:03 +00:00
|
|
|
'plist': {
|
|
|
|
'CFBundleName':'Syncplay',
|
|
|
|
'CFBundleShortVersionString':syncplay.version,
|
|
|
|
'CFBundleIdentifier':'pl.syncplay.Syncplay',
|
|
|
|
'NSHumanReadableCopyright': '@ 2017 Syncplay All Rights Reserved'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
setup(
|
|
|
|
app=APP,
|
|
|
|
name='Syncplay',
|
|
|
|
data_files=DATA_FILES,
|
|
|
|
options={'py2app': OPTIONS},
|
|
|
|
setup_requires=['py2app'],
|
|
|
|
)
|