[issue36721] Add pkg-config python-3.8-embed

Ned Deily report at bugs.python.org
Sun May 19 15:56:02 EDT 2019


Ned Deily <nad at python.org> added the comment:

I don't understand the need for this.  AFAICT, the purpose of python-config is to provide configuration info for embedding Python (Issue1161914 and https://docs.python.org/3/extending/embedding.html#compiling-and-linking-under-unix-like-systems).  At some point, a pkg-config template was added (in Issue3585) but it seems to duplicate the purpose of python-config and thus is also intended for use in embedding Python (although we don't seem to document it, it is familiar to users of automake). I don't know what other purposes either python-config or the pkg-config template serve other than for embedding. AFAIK, they should not be used for building C extension modules. But admittedly this area is not well-documented.  In any case, I think pkg-config and python-config should return the same values for similar parameters.  Anyone else have an opinion?

----------
nosy: +ned.deily

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


More information about the Python-bugs-list mailing list