[Distutils] Wheels and dependent third party dlls on windows

Paul Moore p.f.moore at gmail.com
Tue Sep 30 16:17:49 CEST 2014


On 30 September 2014 14:32, David Genest <david.genest at ubisoft.com> wrote:
> But the only way to get a dependent dll found on windows is to have it on PATH, and the scripts directory on
> windows is on path when a virtualenv is activated.

This is not true. Python loads DLLs with
LOAD_WITH_ALTERED_SEARCH_PATH, to allow them to be located alongside
the pyd file. You should therefore be able to ship the dependent dll
in the package directory (which wheels support fine).

Paul


More information about the Distutils-SIG mailing list