I have been using bdist_mpkg to build Mac distributions of Numpy, Matplotlib and other scientific programming packages. However, when I use bdist_mpkg to build  matplotlib, the resulting package is broken. In particular, I get:
<br><br>In [3]: import pylab<br>---------------------------------------------------------------------------<br>exceptions.ImportError&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Traceback (most recent call last)<br><br>/Users/chris/&lt;ipython console&gt; 
<br><br>/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/pylab.py <br>----&gt; 1 from matplotlib.pylab import *<br><br>ImportError: No module named matplotlib.pylab<br><br>Sure enough, when I look into the problem, it seems that the __init__.py file is being left out by distutils. If I install directly using 
setup.py, this does not occur.<br><br>Any ideas?<br>