2015-04-14 19:34:04 -03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup>
|
|
|
|
<ProjectGuid>{10487945-15D1-4092-A214-338395C4116B}</ProjectGuid>
|
|
|
|
<OutputName>python</OutputName>
|
|
|
|
<OutputSuffix></OutputSuffix>
|
2015-05-23 21:52:20 -03:00
|
|
|
<SupportSigning>false</SupportSigning>
|
2015-04-14 19:34:04 -03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<Import Project="msi.props" />
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2015-05-02 19:32:14 -03:00
|
|
|
<SignOutput>false</SignOutput>
|
2015-04-14 19:34:04 -03:00
|
|
|
<TargetName>python-$(PythonVersion)-embed-$(ArchName)</TargetName>
|
2015-05-02 19:32:14 -03:00
|
|
|
<TargetExt>.zip</TargetExt>
|
2016-12-03 15:18:53 -04:00
|
|
|
<TargetPath>$(OutputPath)\$(TargetName)$(TargetExt)</TargetPath>
|
2015-09-22 19:03:54 -03:00
|
|
|
<CleanCommand>rmdir /q/s "$(IntermediateOutputPath)\zip_$(ArchName)"</CleanCommand>
|
2018-12-10 22:52:57 -04:00
|
|
|
<Arguments>"$(PythonExe)" "$(PySourcePath)PC\layout"</Arguments>
|
|
|
|
<Arguments>$(Arguments) -b "$(BuildPath.TrimEnd(`\`))" -s "$(PySourcePath.TrimEnd(`\`))"</Arguments>
|
|
|
|
<Arguments>$(Arguments) -t "$(IntermediateOutputPath)\zip_$(ArchName)"</Arguments>
|
|
|
|
<Arguments>$(Arguments) --zip "$(TargetPath)"</Arguments>
|
|
|
|
<Arguments>$(Arguments) --precompile --zip-lib --include-underpth --include-stable --flat-dlls</Arguments>
|
2017-07-26 13:09:01 -03:00
|
|
|
<Environment>$(Environment)%0D%0Aset PYTHONPATH=$(PySourcePath)Lib</Environment>
|
2015-04-14 19:34:04 -03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<Target Name="_Build">
|
2017-03-16 14:19:18 -03:00
|
|
|
<Exec Command="setlocal%0D%0A$(Environment)%0D%0A$(CleanCommand)%0D%0A$(Arguments)" />
|
2015-04-14 19:34:04 -03:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="AfterBuild" />
|
|
|
|
<Target Name="Build" DependsOnTargets="_Build;AfterBuild" />
|
|
|
|
|
|
|
|
<Target Name="ShowHashes">
|
|
|
|
<ItemGroup>
|
|
|
|
<UserFiles Include="@(File)" Condition="'%(File.CopyTo)' == '$(EXETarget)'" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<Exec Command=""$(PythonExe)" generate_md5.py @(UserFiles->'"%(FullPath)"',' ')" />
|
|
|
|
</Target>
|
|
|
|
</Project>
|