Is it possible to find python34.lib from within Python?
Ned Deily
nad at acm.org
Fri May 29 12:19:55 EDT 2015
In article <68710660-0f24-403a-8c3d-996c06a26a35 at googlegroups.com>,
Paul Moore <p.f.moore at gmail.com> wrote:
> I want to set up a script to build some C code. I need to link it with
> python34.lib, but I'm not sure how to locate that file without hard-coding
> it.
[...]
If you are embedding Python, refer to the "Extending and Embedding"
document in the Python documentation set and the description of
python-config:
https://docs.python.org/3/extending/embedding.html#compiling-and-linking-
under-unix-like-systems
(Of course, if you are extending Python, Distutils should provide all
the necessary flags.)
--
Ned Deily,
nad at acm.org
More information about the Python-list
mailing list