mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-06 10:23:06 +03:00
Force inclusion of sqlite3.dll
*) There's a bug in py2exe meaning sqlite3.dll doesn't get pulled in by listing it in packages. So we fudge it, assuming it's in <sys.base_prefix>/DLLs/sqlite3.dll (which is the case for Python 3.2 32-bit on Windows). Bug report filed: <https://github.com/albertosottile/py2exe/issues/23> *) Adds sqlite3.dll back into .wxs file
This commit is contained in:
parent
5dcf27e08e
commit
0272c591b6
@ -221,6 +221,9 @@
|
|||||||
<Component Id="_socket.pyd" Guid="*">
|
<Component Id="_socket.pyd" Guid="*">
|
||||||
<File Id="_socket.pyd" KeyPath="yes" Source="SourceDir\_socket.pyd" />
|
<File Id="_socket.pyd" KeyPath="yes" Source="SourceDir\_socket.pyd" />
|
||||||
</Component>
|
</Component>
|
||||||
|
<Component Id="sqlite3.dll" Guid="*">
|
||||||
|
<File Id="sqlite3.dll" KeyPath="yes" Source="SourceDir\sqlite3.dll" />
|
||||||
|
</Component>
|
||||||
<Component Id="_sqlite3.pyd" Guid="*">
|
<Component Id="_sqlite3.pyd" Guid="*">
|
||||||
<File Id="_sqlite3.pyd" KeyPath="yes" Source="SourceDir\_sqlite3.pyd" />
|
<File Id="_sqlite3.pyd" KeyPath="yes" Source="SourceDir\_sqlite3.pyd" />
|
||||||
</Component>
|
</Component>
|
||||||
@ -3409,6 +3412,7 @@
|
|||||||
<ComponentRef Id="_multiprocessing.pyd" />
|
<ComponentRef Id="_multiprocessing.pyd" />
|
||||||
<ComponentRef Id="_queue.pyd" />
|
<ComponentRef Id="_queue.pyd" />
|
||||||
<ComponentRef Id="_socket.pyd" />
|
<ComponentRef Id="_socket.pyd" />
|
||||||
|
<ComponentRef Id="sqlite3.dll" />
|
||||||
<ComponentRef Id="_sqlite3.pyd" />
|
<ComponentRef Id="_sqlite3.pyd" />
|
||||||
<ComponentRef Id="_ssl.pyd" />
|
<ComponentRef Id="_ssl.pyd" />
|
||||||
<ComponentRef Id="_testcapi.pyd" />
|
<ComponentRef Id="_testcapi.pyd" />
|
||||||
|
3
setup.py
3
setup.py
@ -134,7 +134,8 @@ elif sys.platform=='win32':
|
|||||||
'stations.p',
|
'stations.p',
|
||||||
'systems.p',
|
'systems.p',
|
||||||
'%s.VisualElementsManifest.xml' % APPNAME,
|
'%s.VisualElementsManifest.xml' % APPNAME,
|
||||||
'%s.ico' % APPNAME
|
'%s.ico' % APPNAME,
|
||||||
|
'%s/DLLs/sqlite3.dll' % (sys.base_prefix),
|
||||||
]),
|
]),
|
||||||
('L10n', [join('L10n',x) for x in os.listdir('L10n') if x.endswith('.strings')]),
|
('L10n', [join('L10n',x) for x in os.listdir('L10n') if x.endswith('.strings')]),
|
||||||
('plugins', PLUGINS),
|
('plugins', PLUGINS),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user