Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91472

Re: Is it possible to find python34.lib from within Python?

From Ned Deily <nad@acm.org>
Subject Re: Is it possible to find python34.lib from within Python?
Date 2015-05-29 09:19 -0700
References <68710660-0f24-403a-8c3d-996c06a26a35@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.194.1432916402.5151.python-list@python.org> (permalink)

Show all headers | View raw


In article <68710660-0f24-403a-8c3d-996c06a26a35@googlegroups.com>,
 Paul  Moore <p.f.moore@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@acm.org

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Is it possible to find python34.lib from within Python? Paul  Moore <p.f.moore@gmail.com> - 2015-05-29 07:29 -0700
  Re: Is it possible to find python34.lib from within Python? Ned Deily <nad@acm.org> - 2015-05-29 09:19 -0700

csiph-web