| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  | <?xml version="1.0" encoding="utf-8"?> | 
					
						
							|  |  |  | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 
					
						
							|  |  |  |     <PropertyGroup> | 
					
						
							|  |  |  |         <ProjectGuid>{6BD53305-B03E-49DC-85FB-5551B8CCC843}</ProjectGuid> | 
					
						
							|  |  |  |         <SchemaVersion>2.0</SchemaVersion> | 
					
						
							|  |  |  |         <OutputName>exe</OutputName> | 
					
						
							|  |  |  |         <OutputType>Package</OutputType> | 
					
						
							|  |  |  |     </PropertyGroup> | 
					
						
							| 
									
										
										
										
											2015-02-14 10:30:54 -08:00
										 |  |  |     <PropertyGroup> | 
					
						
							|  |  |  |         <!-- Shortcut validation is not necessary --> | 
					
						
							|  |  |  |         <SuppressICEs>ICE43</SuppressICEs> | 
					
						
							|  |  |  |     </PropertyGroup> | 
					
						
							|  |  |  |     <Import Project="..\msi.props" /> | 
					
						
							|  |  |  |     <ItemGroup> | 
					
						
							|  |  |  |         <Compile Include="exe.wxs" /> | 
					
						
							|  |  |  |         <Compile Include="exe_files.wxs" /> | 
					
						
							| 
									
										
										
										
											2016-07-24 18:04:29 -07:00
										 |  |  |         <Compile Include="exe_reg.wxs" /> | 
					
						
							| 
									
										
										
										
											2015-02-14 10:30:54 -08:00
										 |  |  |     </ItemGroup> | 
					
						
							|  |  |  |     <ItemGroup> | 
					
						
							|  |  |  |         <EmbeddedResource Include="*.wxl" /> | 
					
						
							|  |  |  |         <WxlTemplate Include="*.wxl_template" /> | 
					
						
							|  |  |  |     </ItemGroup> | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     <Target Name="_GenerateLicense" AfterTargets="PrepareForBuild"> | 
					
						
							|  |  |  |         <ItemGroup> | 
					
						
							|  |  |  |             <LicenseFiles Include="$(PySourcePath)LICENSE; | 
					
						
							|  |  |  |                                    crtlicense.txt; | 
					
						
							|  |  |  |                                    $(bz2Dir)LICENSE; | 
					
						
							| 
									
										
										
										
											2017-07-17 11:15:48 +02:00
										 |  |  |                                    $(opensslOutDir)LICENSE; | 
					
						
							|  |  |  |                                    $(tcltkDir)tcllicense.terms; | 
					
						
							|  |  |  |                                    $(tcltkDir)tklicense.terms; | 
					
						
							|  |  |  |                                    $(tcltkDir)tixlicense.terms" /> | 
					
						
							| 
									
										
										
										
											2015-02-14 10:30:54 -08:00
										 |  |  |             <_LicenseFiles Include="@(LicenseFiles)"> | 
					
						
							|  |  |  |                 <Content>$([System.IO.File]::ReadAllText(%(FullPath)))</Content> | 
					
						
							|  |  |  |             </_LicenseFiles> | 
					
						
							|  |  |  |         </ItemGroup> | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         <WriteLinesToFile File="$(BuildPath)LICENSE" | 
					
						
							|  |  |  |                           Overwrite="true" | 
					
						
							|  |  |  |                           Lines="@(_LicenseFiles->'%(Content)')" /> | 
					
						
							|  |  |  |     </Target> | 
					
						
							| 
									
										
										
										
											2017-09-06 10:01:38 -07:00
										 |  |  |      | 
					
						
							|  |  |  |     <Target Name="_CopyMiscNews" AfterTargets="PrepareForBuild" Condition="Exists('$(PySourcePath)Misc\NEWS')"> | 
					
						
							|  |  |  |         <Copy SourceFiles="$(PySourcePath)Misc\NEWS" DestinationFiles="$(BuildPath)NEWS.txt" /> | 
					
						
							|  |  |  |     </Target> | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     <Target Name="_MergeMiscNewsWithBlurb" AfterTargets="PrepareForBuild" Condition="$(Blurb) != '' and !Exists('$(PySourcePath)Misc\NEWS')"> | 
					
						
							| 
									
										
										
										
											2017-09-25 18:58:10 +02:00
										 |  |  |         <Exec Command="$(Blurb) merge -f "$(BuildPath)NEWS.txt"" WorkingDirectory="$(PCbuild)" /> | 
					
						
							| 
									
										
										
										
											2017-09-06 10:01:38 -07:00
										 |  |  |     </Target> | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     <Target Name="_MergeMiscNewsWithPython" AfterTargets="PrepareForBuild" Condition="$(Blurb) == '' and !Exists('$(PySourcePath)Misc\NEWS')"> | 
					
						
							|  |  |  |         <ItemGroup> | 
					
						
							|  |  |  |             <HostPython Include="$(ExternalsDir)python*\tools\python.exe" /> | 
					
						
							|  |  |  |             <HostPython Include="@(HostPython)" Condition="Exists(%(FullPath))" /> | 
					
						
							|  |  |  |             <HostPython Include="py" Condition="@(HostPython) == ''" /> | 
					
						
							|  |  |  |         </ItemGroup> | 
					
						
							|  |  |  |         <PropertyGroup> | 
					
						
							|  |  |  |             <HostPython>@(HostPython)</HostPython> | 
					
						
							|  |  |  |             <HostPython Condition="$(HostPython.Contains(';'))">$(HostPython.Remove($(HostPython.IndexOf(';'))))</HostPython> | 
					
						
							|  |  |  |         </PropertyGroup> | 
					
						
							| 
									
										
										
										
											2017-09-25 18:58:10 +02:00
										 |  |  |         <Exec Command=""$(HostPython)" -m pip install -U blurb" WorkingDirectory="$(PCbuild)" /> | 
					
						
							|  |  |  |         <Exec Command=""$(HostPython)" -m blurb merge -f "$(BuildPath)NEWS.txt"" WorkingDirectory="$(PCbuild)" /> | 
					
						
							| 
									
										
										
										
											2017-09-06 10:01:38 -07:00
										 |  |  |     </Target> | 
					
						
							|  |  |  |      | 
					
						
							| 
									
										
										
										
											2015-02-14 10:30:54 -08:00
										 |  |  |     <Import Project="..\msi.targets" /> | 
					
						
							| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  | </Project> |