On 8/22/21 5:59 AM, Mark Watts wrote:
> Package: python3.9-dev
> Version: 3.9.2-1
> Severity: normal
> X-Debbugs-Cc: watts.mark2...@gmail.com
> 
> Dear Maintainer,
> 
> I'm using the python3.9-config --cflags to provide flags for building a
> program that embeds python. I'm doing this in a Docker container with
> the essential parts described by the Dockerfile excerpt below. I would
> expect that any files referenced in the CFLAGS would be installed along
> with python3.9-config. Instead, I have to install another package to get
> this file or do a sed on cflags to remove the -specs argument.

your expectations are unexpected. You have to call python3-config with the
--embed options for the embedded case.  That will get you the complete options
needed for embedding an interpreter.  I'm not sure I want to have these extra
dependencies as part of the python3.9-dev package.

You also don't write which options are missing from your build.

Reply via email to