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 = [
|
2018-04-15 18:19:20 +00:00
|
|
|
('resources', glob('resources/*.png') + glob('resources/*.rtf') + glob('resources/*.lua')),
|
2017-09-07 17:37:03 +00:00
|
|
|
]
|
|
|
|
OPTIONS = {
|
2018-06-18 20:12:31 +00:00
|
|
|
'iconfile':'resources/icon.icns',
|
|
|
|
'extra_scripts': 'syncplayServer.py',
|
|
|
|
'includes': {'PySide2.QtCore', 'PySide2.QtUiTools', 'PySide2.QtGui','PySide2.QtWidgets', 'certifi'},
|
2017-10-02 22:18:05 +00:00
|
|
|
'excludes': {'PySide', 'PySide.QtCore', 'PySide.QtUiTools', 'PySide.QtGui'},
|
2018-06-13 14:14:08 +00:00
|
|
|
'qt_plugins': ['platforms/libqcocoa.dylib', 'platforms/libqminimal.dylib','platforms/libqoffscreen.dylib', 'styles/libqmacstyle.dylib'],
|
2018-06-18 20:12:31 +00:00
|
|
|
'plist': {
|
|
|
|
'CFBundleName':'Syncplay',
|
|
|
|
'CFBundleShortVersionString':syncplay.version,
|
|
|
|
'CFBundleIdentifier':'pl.syncplay.Syncplay',
|
|
|
|
'LSMinimumSystemVersion':'10.11.0',
|
|
|
|
'NSHumanReadableCopyright': '@ 2018 Syncplay All Rights Reserved'
|
|
|
|
}
|
2017-09-07 17:37:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
setup(
|
|
|
|
app=APP,
|
|
|
|
name='Syncplay',
|
|
|
|
data_files=DATA_FILES,
|
|
|
|
options={'py2app': OPTIONS},
|
|
|
|
setup_requires=['py2app'],
|
|
|
|
)
|