Simplify MSI projects.

This commit is contained in:
Steve Dower 2015-02-14 10:30:54 -08:00
parent 17be514d0a
commit cc115eea0c
46 changed files with 447 additions and 334 deletions

View file

@ -5,7 +5,30 @@
<SchemaVersion>2.0</SchemaVersion>
<OutputName>lib</OutputName>
<OutputType>Package</OutputType>
<DefineConstants>IncludeDefaultFeature=1;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<Import Project="lib.props" />
<Import Project="..\msi.props" />
<ItemGroup>
<Compile Include="lib.wxs" />
<Compile Include="lib_files.wxs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="*.wxl" />
</ItemGroup>
<ItemGroup>
<ExcludeFolders Include="Lib\test;Lib\tests;Lib\tkinter;Lib\idlelib;Lib\turtledemo" />
<InstallFiles Include="$(PySourcePath)Lib\**\*"
Exclude="$(PySourcePath)Lib\**\*.pyc;
$(PySourcePath)Lib\**\*.pyo;
$(PySourcePath)Lib\site-packages\README;
@(ExcludeFolders->'$(PySourcePath)%(Identity)\*');
@(ExcludeFolders->'$(PySourcePath)%(Identity)\**\*')">
<SourceBase>$(PySourcePath)Lib</SourceBase>
<Source>!(bindpath.src)Lib\</Source>
<TargetBase>$(PySourcePath)Lib</TargetBase>
<Target_>Lib\</Target_>
<Group>lib_py</Group>
</InstallFiles>
</ItemGroup>
<Import Project="..\msi.targets" />
</Project>