[issue38224] Windows embeddable distribution doesn't ship headers

Leblond Emmanuel report at bugs.python.org
Thu Sep 19 05:42:05 EDT 2019


New submission from Leblond Emmanuel <emmanuel.leblond+bugs.cpython at gmail.com>:

I don't understand why the headers are not provided as part of the distribution.

It would be really easy to rm them once the distribution extracted for usecases that don't need them.

On the other hand, usecases that need them cannot just download the Include folder from the CPython git repository given they get cooked during the build phase.

It's also really inconvenient to extract the headers from the executable distribution.

>From my personal experience, this prevented me from using the distribution each time it would have been a good fit for my need:
- Embedding CPython into the Godot game engine (see https://github.com/touilleMan/godot-python/blob/284f092d9f7893403f7af32cac5978532c0e7d21/platforms/windows-64/SCsub#L55-L62)
- Providing a frozen distribution of python for a script with simple .exe binary that would initialize the CPython insterpeter and run a simple "import mymodule; mymodule.main()" command

----------
components: Build, Windows
messages: 352778
nosy: paul.moore, steve.dower, tim.golden, touilleMan, zach.ware
priority: normal
severity: normal
status: open
title: Windows embeddable distribution doesn't ship headers
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38224>
_______________________________________


More information about the Python-bugs-list mailing list