[Distutils] Handling the binary dependency management problem

Thomas Heller theller at ctypes.org
Fri Dec 6 08:10:15 CET 2013


Am 06.12.2013 06:47, schrieb Nick Coghlan:
> On 6 December 2013 11:52, Donald Stufft <donald at stufft.io> wrote:
>>
>> On Dec 5, 2013, at 8:48 PM, Chris Barker - NOAA Federal <chris.barker at noaa.gov> wrote:
>>
>>> What would really be best is run-time selection of the appropriate lib
>>> -- it would solve this problem, and allow users to re-distribute
>>> working binaries via py2exe, etc. And not require opening a security
>>> hole in wheels...
>>>
>>> Not sure how hard that would be to do, though.
>>
>> Install time selectors probably isn’t a huge deal as long as there’s a way
>> to force a particular variant to install and to disable the executing code.
>
> Hmm, I just had an idea for how to do the runtime selection thing. It
> actually shouldn't be that hard, so long as the numpy folks are OK
> with a bit of __path__ manipulation in package __init__ modules.

Manipulation of __path__ at runtime usually makes it harder for
modulefinder to find all the required modules.

Thomas


More information about the Distutils-SIG mailing list