mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-07 19:03:23 +03:00
setup.py: win32 OPTIONS and DATA_FILES formatting
This commit is contained in:
parent
b417745e7e
commit
03c97299c4
19
setup.py
19
setup.py
@ -161,8 +161,9 @@ if sys.platform == 'darwin':
|
|||||||
DATA_FILES = []
|
DATA_FILES = []
|
||||||
|
|
||||||
elif sys.platform == 'win32':
|
elif sys.platform == 'win32':
|
||||||
OPTIONS = { 'py2exe':
|
OPTIONS = {
|
||||||
{'dist_dir': dist_dir,
|
'py2exe': {
|
||||||
|
'dist_dir': dist_dir,
|
||||||
'optimize': 2,
|
'optimize': 2,
|
||||||
'packages': [
|
'packages': [
|
||||||
'sqlite3', # Included for plugins
|
'sqlite3', # Included for plugins
|
||||||
@ -173,7 +174,15 @@ elif sys.platform=='win32':
|
|||||||
'timeout_session',
|
'timeout_session',
|
||||||
'zipfile', # Included for plugins
|
'zipfile', # Included for plugins
|
||||||
],
|
],
|
||||||
'excludes': [ 'distutils', '_markerlib', 'optparse', 'PIL', 'pkg_resources', 'simplejson', 'unittest' ],
|
'excludes': [
|
||||||
|
'distutils',
|
||||||
|
'_markerlib',
|
||||||
|
'optparse',
|
||||||
|
'PIL',
|
||||||
|
'pkg_resources',
|
||||||
|
'simplejson',
|
||||||
|
'unittest'
|
||||||
|
],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -191,8 +200,8 @@ elif sys.platform=='win32':
|
|||||||
'ships.p',
|
'ships.p',
|
||||||
'stations.p',
|
'stations.p',
|
||||||
'systems.p',
|
'systems.p',
|
||||||
'%s.VisualElementsManifest.xml' % appname,
|
f'{appname}.VisualElementsManifest.xml',
|
||||||
'%s.ico' % appname,
|
f'{appname}.ico',
|
||||||
'EDMarketConnector - TRACE.bat',
|
'EDMarketConnector - TRACE.bat',
|
||||||
'EDMarketConnector - localserver-auth.bat',
|
'EDMarketConnector - localserver-auth.bat',
|
||||||
]),
|
]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user