summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-23 16:00:00 (GMT)
committerGitHub <noreply@github.com>2018-11-23 16:00:00 (GMT)
commite421106b9e4d780c083113e4180d58d68acc69ab (patch)
treefe60b9c6e315443a68fae54c0b84f9eaca19949a /Tools
parentb409ffa848b280c1db1b4f450bfae14f263099ac (diff)
downloadcpython-e421106b9e4d780c083113e4180d58d68acc69ab.zip
cpython-e421106b9e4d780c083113e4180d58d68acc69ab.tar.gz
cpython-e421106b9e4d780c083113e4180d58d68acc69ab.tar.bz2
bpo-35134: Create Include/cpython/ subdirectory (GH-10624)
Include/*.h should be the "portable Python API", whereas Include/cpython/*.h should be the "CPython API": CPython implementation details. Changes: * Create Include/cpython/ subdirectory * "make install" now creates $prefix/include/cpython and copy Include/cpython/* to $prefix/include/cpython * Create Include/cpython/objimpl.h: move objimpl.h code surrounded by "#ifndef Py_LIMITED_API" to cpython/objimpl.h. * objimpl.h now includes cpython/objimpl.h * Windows installer (MSI) now also install Include/ subdirectories: Include/cpython/ and Include/internal/.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/dev/dev.wixproj6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/msi/dev/dev.wixproj b/Tools/msi/dev/dev.wixproj
index 682b660..bc3a19c 100644
--- a/Tools/msi/dev/dev.wixproj
+++ b/Tools/msi/dev/dev.wixproj
@@ -21,7 +21,7 @@
<EmbeddedResource Include="*.wxl" />
</ItemGroup>
<ItemGroup>
- <InstallFiles Include="$(PySourcePath)include\*.h">
+ <InstallFiles Include="$(PySourcePath)include\**\*.h">
<SourceBase>$(PySourcePath)</SourceBase>
<Source>!(bindpath.src)</Source>
<TargetBase>$(PySourcePath)</TargetBase>
@@ -29,7 +29,7 @@
<Group>dev_include</Group>
</InstallFiles>
</ItemGroup>
-
+
<Target Name="BuildMinGWLib"
Inputs="$(BuildPath)$(PyDllName).dll"
Outputs="$(BuildPath)lib$(PyDllName).a"
@@ -46,4 +46,4 @@
</Target>
<Import Project="..\msi.targets" />
-</Project> \ No newline at end of file
+</Project>