• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3    <PropertyGroup>
4        <ProjectGuid>{11367E76-3337-4602-8F1E-77DB4F370D7E}</ProjectGuid>
5        <SchemaVersion>2.0</SchemaVersion>
6        <OutputName>lib</OutputName>
7        <OutputType>Package</OutputType>
8    </PropertyGroup>
9    <Import Project="..\msi.props" />
10    <ItemGroup>
11        <Compile Include="lib.wxs" />
12        <Compile Include="lib_files.wxs" />
13    </ItemGroup>
14    <ItemGroup>
15        <EmbeddedResource Include="*.wxl" />
16    </ItemGroup>
17    <ItemGroup>
18        <ExcludeFolders Include="Lib\test;Lib\tests;Lib\tkinter;Lib\idlelib;Lib\turtledemo" />
19        <InstallFiles Include="$(PySourcePath)Lib\**\*"
20                      Exclude="$(PySourcePath)Lib\**\*.pyc;
21                               $(PySourcePath)Lib\**\*.pyo;
22                               $(PySourcePath)Lib\site-packages\README;
23                               @(ExcludeFolders->'$(PySourcePath)%(Identity)\*');
24                               @(ExcludeFolders->'$(PySourcePath)%(Identity)\**\*')">
25            <SourceBase>$(PySourcePath)Lib</SourceBase>
26            <Source>!(bindpath.src)Lib\</Source>
27            <TargetBase>$(PySourcePath)Lib</TargetBase>
28            <Target_>Lib\</Target_>
29            <Group>lib_py</Group>
30            <IncludeInCat>true</IncludeInCat>
31        </InstallFiles>
32    </ItemGroup>
33
34    <Import Project="..\msi.targets" />
35</Project>