Adds missing _asyncio.pyd to installer and generally tidies pyd management.

This commit is contained in:
Steve Dower 2016-10-29 09:23:39 -07:00
parent 868147b0a6
commit 4782ab3aa3
3 changed files with 23 additions and 69 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?define exts=pyexpat;select;unicodedata;winsound;_bz2;_elementtree;_socket;_ssl;_msi;_ctypes;_hashlib;_multiprocessing;_lzma;_decimal;_overlapped;_sqlite3 ?>
<?define exts=pyexpat;select;unicodedata;winsound;_bz2;_elementtree;_socket;_ssl;_msi;_ctypes;_hashlib;_multiprocessing;_lzma;_decimal;_overlapped;_sqlite3;_asyncio ?>
<Fragment>
<ComponentGroup Id="lib_extensions">
<?foreach ext in $(var.exts)?>

View File

@ -19,6 +19,7 @@ DEBUG_FILES = {
'_ctypes_test',
'_testbuffer',
'_testcapi',
'_testconsole',
'_testimportmultiple',
'_testmultiphase',
'xxlimited',

View File

@ -1,89 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?define exts=_testcapi;_ctypes_test;_testbuffer;_testimportmultiple;_testmultiphase;_testconsole ?>
<Fragment>
<ComponentGroup Id="test_extensions">
<Component Id="_testcapi.pyd" Directory="DLLs" Guid="*">
<File Id="_testcapi.pyd" Name="_testcapi.pyd" KeyPath="yes" />
</Component>
<Component Id="_ctypes_test.pyd" Directory="DLLs" Guid="*">
<File Id="_ctypes_test.pyd" Name="_ctypes_test.pyd" KeyPath="yes" />
</Component>
<Component Id="_testbuffer.pyd" Directory="DLLs" Guid="*">
<File Id="_testbuffer.pyd" Name="_testbuffer.pyd" KeyPath="yes" />
</Component>
<Component Id="_testimportmultiple.pyd" Directory="DLLs" Guid="*">
<File Id="_testimportmultiple.pyd" Name="_testimportmultiple.pyd" KeyPath="yes" />
</Component>
<Component Id="_testmultiphase.pyd" Directory="DLLs" Guid="*">
<File Id="_testmultiphase.pyd" Name="_testmultiphase.pyd" KeyPath="yes" />
</Component>
<Component Id="_testconsole.pyd" Directory="DLLs" Guid="*">
<File Id="_testconsole.pyd" Name="_testconsole.pyd" KeyPath="yes" />
<?foreach ext in $(var.exts)?>
<Component Id="$(var.ext).pyd" Directory="DLLs" Guid="*">
<File Name="$(var.ext).pyd" KeyPath="yes" />
</Component>
<?endforeach ?>
</ComponentGroup>
</Fragment>
<Fragment>
<ComponentGroup Id="test_extensions_symbols">
<Component Id="_testcapi.pdb" Directory="DLLs" Guid="*">
<File Id="_testcapi.pdb" Name="_testcapi.pdb" />
</Component>
<Component Id="_ctypes_test.pdb" Directory="DLLs" Guid="*">
<File Id="_ctypes_test.pdb" Name="_ctypes_test.pdb" />
</Component>
<Component Id="_testbuffer.pdb" Directory="DLLs" Guid="*">
<File Id="_testbuffer.pdb" Name="_testbuffer.pdb" />
</Component>
<Component Id="_testimportmultiple.pdb" Directory="DLLs" Guid="*">
<File Id="_testimportmultiple.pdb" Name="_testimportmultiple.pdb" />
</Component>
<Component Id="_testmultiphase.pdb" Directory="DLLs" Guid="*">
<File Id="_testmultiphase.pdb" Name="_testmultiphase.pdb" />
</Component>
<Component Id="_testconsole.pdb" Directory="DLLs" Guid="*">
<File Id="_testconsole.pdb" Name="_testconsole.pdb" />
<?foreach ext in $(var.exts)?>
<Component Id="$(var.ext).pdb" Directory="DLLs" Guid="*">
<File Name="$(var.ext).pdb" />
</Component>
<?endforeach ?>
</ComponentGroup>
</Fragment>
<Fragment>
<ComponentGroup Id="test_extensions_d">
<Component Id="_testcapi_d.pyd" Directory="DLLs" Guid="*">
<File Id="_testcapi_d.pyd" Name="_testcapi_d.pyd" />
<?foreach ext in $(var.exts)?>
<Component Id="$(var.ext)_d.pyd" Directory="DLLs" Guid="*">
<File Name="$(var.ext)_d.pyd" />
</Component>
<Component Id="_ctypes_test_d.pyd" Directory="DLLs" Guid="*">
<File Id="_ctypes_test_d.pyd" Name="_ctypes_test_d.pyd" />
</Component>
<Component Id="_testbuffer_d.pyd" Directory="DLLs" Guid="*">
<File Id="_testbuffer_d.pyd" Name="_testbuffer_d.pyd" />
</Component>
<Component Id="_testimportmultiple_d.pyd" Directory="DLLs" Guid="*">
<File Id="_testimportmultiple_d.pyd" Name="_testimportmultiple_d.pyd" />
</Component>
<Component Id="_testmultiphase_d.pyd" Directory="DLLs" Guid="*">
<File Id="_testmultiphase_d.pyd" Name="_testmultiphase_d.pyd" />
</Component>
<Component Id="_testconsole_d.pyd" Directory="DLLs" Guid="*">
<File Id="_testconsole_d.pyd" Name="_testconsole_d.pyd" />
</Component>
<Component Id="_testcapi_d.pdb" Directory="DLLs" Guid="*">
<File Id="_testcapi_d.pdb" Name="_testcapi_d.pdb" />
</Component>
<Component Id="_ctypes_test_d.pdb" Directory="DLLs" Guid="*">
<File Id="_ctypes_test_d.pdb" Name="_ctypes_test_d.pdb" />
</Component>
<Component Id="_testbuffer_d.pdb" Directory="DLLs" Guid="*">
<File Id="_testbuffer_d.pdb" Name="_testbuffer_d.pdb" />
</Component>
<Component Id="_testimportmultiple_d.pdb" Directory="DLLs" Guid="*">
<File Id="_testimportmultiple_d.pdb" Name="_testimportmultiple_d.pdb" />
</Component>
<Component Id="_testmultiphase_d.pdb" Directory="DLLs" Guid="*">
<File Id="_testmultiphase_d.pdb" Name="_testmultiphase_d.pdb" />
</Component>
<Component Id="_testconsole_d.pdb" Directory="DLLs" Guid="*">
<File Id="_testconsole_d.pdb" Name="_testconsole_d.pdb" />
<Component Id="$(var.ext)_d.pdb" Directory="DLLs" Guid="*">
<File Name="$(var.ext)_d.pdb" />
</Component>
<?endforeach ?>
</ComponentGroup>
</Fragment>
</Wix>