Great. Thanks everyone.
M

From: Nathaniel Smith <n...@pobox.com>
Date: Wednesday, 23 January 2019 at 16:51
To: Jean-Christophe Fillion-Robin <j...@kitware.com>
Cc: "Clarkson, Matt" <m.clark...@ucl.ac.uk>, "wheel-builders@python.org" 
<wheel-builders@python.org>
Subject: Re: [Wheel-builders] Problem with finding python library via CMake

On Wed, Jan 23, 2019, 07:24 Jean-Christophe Fillion-Robin via Wheel-builders 
<wheel-builders@python.org<mailto:wheel-builders@python.org> wrote:
Hi Matt,

You can assume that one windows the python dll will be available. (this is the 
case when using regular python distributions available 
python.org<http://python.org>, anaconda, etc ... )

Yeah, on Windows, linking against the python dll is absolutely mandatory for 
technical reasons, so you can assume it's always there.

And on macOS, linking against the python dylib is essentially impossible for 
technical reasons, so tools should generally be set up to cope with this.

The confusing case is Linux, where both options are supported and used on 
different systems. In practice this means portable packages have to avoid 
linking against the python .so, because it's not always available. But, you 
can't assume tools will be set up to handle this, because some tool developers 
only tested on systems that have a usable python .so.

-n
_______________________________________________
Wheel-builders mailing list
Wheel-builders@python.org
https://mail.python.org/mailman/listinfo/wheel-builders

Reply via email to