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 = [
|
2021-03-28 20:08:51 +00:00
|
|
|
('resources', glob('syncplay/resources/*.png') + glob('syncplay/resources/*.rtf') + glob('syncplay/resources/*.txt') + glob('syncplay/resources/*.lua')),
|
2019-04-13 13:39:55 +00:00
|
|
|
('resources/lua/intf', glob('syncplay/resources/lua/intf/*.lua'))
|
2017-09-07 17:37:03 +00:00
|
|
|
]
|
|
|
|
OPTIONS = {
|
2019-04-13 13:39:55 +00:00
|
|
|
'iconfile': 'syncplay/resources/icon.icns',
|
2018-06-18 20:12:31 +00:00
|
|
|
'extra_scripts': 'syncplayServer.py',
|
2023-03-19 22:13:26 +00:00
|
|
|
'includes': {'PySide2.QtCore', 'PySide2.QtUiTools', 'PySide2.QtGui', 'PySide2.QtWidgets', 'certifi', 'cffi', 'pem', 'charset_normalizer.md__mypyc'},
|
2022-08-21 22:23:40 +00:00
|
|
|
'excludes': {'PySide', 'PySide.QtCore', 'PySide.QtUiTools', 'PySide.QtGui', 'tkinter'},
|
2018-07-23 21:08:44 +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': {
|
2018-07-23 21:08:44 +00:00
|
|
|
'CFBundleName': 'Syncplay',
|
|
|
|
'CFBundleShortVersionString': syncplay.version,
|
|
|
|
'CFBundleIdentifier': 'pl.syncplay.Syncplay',
|
2019-02-05 20:46:59 +00:00
|
|
|
'LSMinimumSystemVersion': '10.12.0',
|
2019-05-14 10:20:32 +00:00
|
|
|
'NSHumanReadableCopyright': 'Copyright © 2019 Syncplay All Rights Reserved',
|
2018-06-18 20:12:31 +00:00
|
|
|
}
|
2017-09-07 17:37:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
setup(
|
|
|
|
app=APP,
|
|
|
|
name='Syncplay',
|
|
|
|
data_files=DATA_FILES,
|
|
|
|
options={'py2app': OPTIONS},
|
|
|
|
setup_requires=['py2app'],
|
|
|
|
)
|