I would add a numpy/_distributor_init.py module and unconditionally import
it in the __init__.py. It's contents in our upstream sources would just be
a docstring:
"""Distributors! Put your initialization code here!
"""
One important technical benefit is that the unconditional import won't hide
Im
+1. This seems nicer than patching __init__.py itself, in that it is much
more transparent.
Good idea.
Michael
On Thu, Feb 11, 2016 at 7:19 PM Matthew Brett
wrote:
> Hi,
>
> Over at https://github.com/numpy/numpy/issues/5479 we're discussing
> Windows wheels.
>
> On thing that we would like to