1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-05-29 06:39:32 +03:00

Include shutil, sqlite3 and zipfile for plugins on Windows

This commit is contained in:
Jonathan Harris 2017-08-19 15:46:10 +01:00
parent 929bd82684
commit 71734d24b7
2 changed files with 13 additions and 2 deletions

View File

@ -108,6 +108,9 @@
<Component Guid="{52019FB5-952D-4BA4-A6E0-F3E214F14923}">
<File KeyPath="yes" Source="SourceDir\_socket.pyd" />
</Component>
<Component Guid="*">
<File KeyPath="yes" Source="SourceDir\_sqlite3.pyd" />
</Component>
<Component Guid="{2EA8F0B6-A104-4D31-99F0-3535ACDC26A9}">
<File KeyPath="yes" Source="SourceDir\_ssl.pyd" />
</Component>
@ -153,6 +156,9 @@
<Component Guid="*">
<File KeyPath="yes" Source="SourceDir\snd_bad.wav" />
</Component>
<Component Guid="*">
<File KeyPath="yes" Source="SourceDir\sqlite3.dll" />
</Component>
<Component Guid="*">
<File KeyPath="yes" Source="SourceDir\stations.p" />
</Component>
@ -444,6 +450,7 @@
<ComponentRef Id="_ctypes.pyd" />
<ComponentRef Id="_hashlib.pyd" />
<ComponentRef Id="_socket.pyd" />
<ComponentRef Id="_sqlite3.pyd" />
<ComponentRef Id="_ssl.pyd" />
<ComponentRef Id="_tkinter.pyd" />
<ComponentRef Id="bz2.pyd" />
@ -473,6 +480,7 @@
<ComponentRef Id="sr_Latn.strings" />
<ComponentRef Id="snd_good.wav" />
<ComponentRef Id="snd_bad.wav" />
<ComponentRef Id="sqlite3.dll" />
<ComponentRef Id="stations.p" />
<ComponentRef Id="systems.p" />
<ComponentRef Id="tcl85.dll" />

View File

@ -102,8 +102,11 @@ elif sys.platform=='win32':
OPTIONS = { 'py2exe':
{'dist_dir': dist_dir,
'optimize': 2,
'packages': [ 'requests', 'keyring.backends' ],
'excludes': [ 'certifi', 'distutils', 'iniparse', '_markerlib', 'PIL', 'pkg_resources', 'simplejson', 'unittest' ],
'packages': [
'requests', 'keyring.backends',
'shutil', 'sqlite3', 'zipfile', # Included for plugins
],
'excludes': [ 'certifi', 'distutils', 'iniparse', '_markerlib', 'optparse', 'PIL', 'pkg_resources', 'simplejson', 'unittest' ],
}
}