[Python-checkins] bpo-37326: Include libffi license when available (GH-15921)

Zachary Ware webhook-mailer at python.org
Wed Sep 11 08:43:04 EDT 2019


https://github.com/python/cpython/commit/8fcaffb048d2359a4c06ed5d8fbbf46d3ae1a472
commit: 8fcaffb048d2359a4c06ed5d8fbbf46d3ae1a472
branch: master
author: Steve Dower <steve.dower at python.org>
committer: Zachary Ware <zachary.ware at gmail.com>
date: 2019-09-11T13:43:00+01:00
summary:

bpo-37326: Include libffi license when available (GH-15921)

files:
M PCbuild/python.vcxproj

diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
index e37bcfb0b6e1..2094420a8df3 100644
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -150,12 +150,13 @@ $(_PGOPath)
       <LicenseFiles Include="$(PySourcePath)LICENSE;
                              $(PySourcePath)PC\crtlicense.txt;
                              $(bz2Dir)LICENSE;
-                             $(opensslOutDir)LICENSE;" />
+                             $(opensslOutDir)LICENSE;
+                             $(libffiDir)LICENSE;" />
       <LicenseFiles Include="$(tcltkDir)tcllicense.terms;
                              $(tcltkDir)tklicense.terms;
                              $(tcltkDir)tixlicense.terms" Condition="$(IncludeTkinter)" />
       <_LicenseFiles Include="@(LicenseFiles)">
-        <Content>$([System.IO.File]::ReadAllText(%(FullPath)))</Content>
+        <Content Condition="Exists(%(FullPath))">$([System.IO.File]::ReadAllText(%(FullPath)))</Content>
       </_LicenseFiles>
     </ItemGroup>
 



More information about the Python-checkins mailing list