1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-07 19:03:23 +03:00

setup.py: Fix win32 OPTIONS formatting

This commit is contained in:
Athanasius 2021-03-22 15:07:33 +00:00
parent 732cfa1192
commit 8a3176c67d

View File

@ -165,8 +165,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
@ -184,7 +185,8 @@ elif sys.platform=='win32':
'PIL', 'PIL',
'pkg_resources', 'pkg_resources',
'simplejson', 'simplejson',
'unittest' ], 'unittest'
],
} }
} }