This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xoviat
Recipients Ray Donnelly, barry, brett.cannon, eryksun, lemburg, njs, paul.moore, steve.dower, tim.golden, xoviat, zach.ware
Date 2018-01-16.20:00:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516132825.77.0.467229070634.issue32516@psf.upfronthosting.co.za>
In-reply-to
Content
As Nathaniel noted, the "solution" of placing DLLs in the same directory as extension modules is not a solution. I also think that some people here misunderstand my proposal: I'm not necessarily proposing that these directories are added using an import hook: they could be added on startup through a scan of site-packages.

"However, even if this were implemented we'd still need to write and maintain the __init__.py injection code for the next ~5 years, so probably the thing to do is to implement the __init__.py approach first and wait to see how it shakes out before considering interpreter changes."

Yes, this approach is already implemented in NumPy and SciPy. I'm also implementing it for other packages as well. However, the principal reason that I'm opening this issue is that Ray complained that packages shouldn't be altering the DLL search path: the only other solution that I can see is to make this documented behavior, only on Windows, and only because the Windows developers (and I'm in no way anti-Windows, but I'm just frustrated with this particular issue) decided to place an arbitrary limit on probingPath.

As far as the complaints about rpath: this is a mechanism used by every single manylinux and actually most OSX wheels, and it works perfectly.
History
Date User Action Args
2018-01-16 20:00:25xoviatsetrecipients: + xoviat, lemburg, barry, brett.cannon, paul.moore, tim.golden, njs, zach.ware, eryksun, steve.dower, Ray Donnelly
2018-01-16 20:00:25xoviatsetmessageid: <1516132825.77.0.467229070634.issue32516@psf.upfronthosting.co.za>
2018-01-16 20:00:25xoviatlinkissue32516 messages
2018-01-16 20:00:25xoviatcreate