Description of problem: ----------------------- numpy.distutils.misc_util is missing from numpy installation; see http://www.scipy.org/Documentation/numpy_distutils for a description of numpy.distutils.misc_util. Version-Release number of selected component (if applicable): ------------------------------------------------------------- Using Fedora 12 on 2010-03-11. Package: -------- numpy.i686 0:1.3.0-6.fc12 How reproducible: ----------------- Very Steps to Reproduce: ------------------- 1. sudo yum remove numpy 2. sudo yum install numpy 3. python 4. from numpy.distutils.misc_util import get_numpy_include_dirs Actual results on Fedora 12: ---------------------------- Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from numpy.distutils.misc_util import get_numpy_include_dirs Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named distutils.misc_util Actual results on Cygwin (as expected): --------------------------------------- $ python Python 2.5.2 (r252:60911, Dec 2 2008, 09:26:14) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> from numpy.distutils.misc_util import get_numpy_include_dirs >>> Addition Information on Fedora: ------------------------------- find /usr/lib -name 'misc_util*' (nothing is found) Addition Information on Cygwin: ------------------------------- find /usr/lib -name 'misc_util*' /usr/lib/python2.5/site-packages/numpy/distutils/misc_util.py /usr/lib/python2.5/site-packages/numpy/distutils/misc_util.pyc /usr/lib/python2.5/site-packages/numpy/distutils/misc_util.pyo
Reassigning to numpy.
distutils is included in the -f2py subpackage. Is distutils used by more than just f2py?
Because it appears to me that distutils is part of the numpy specifications, I use it as part of a package that depends on numpy; see http://www.seanet.com/~bradbell/pycppad/install.xml To be more specific, see the line from numpy.distutils.misc_util import get_numpy_include_dirs near the beginning of the file http://github.com/b45ch1/pycppad/blob/master/setup.template
There was a problem with the example use of how numpy.distutils may be useful for installing things under $HOME (an upstream tarball used by pycppad was missing). This has been fixed and now http://www.seanet.com/~bradbell/pycppad/install.xml is a better example of how numpy.distutils may be useful under Fedora.
It looks like distutils is distinct from f2py, so I'll get out updates correcting this shortly.
numpy-1.3.0-8.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/numpy-1.3.0-8.fc12
numpy-1.3.0-8.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/numpy-1.3.0-8.fc13
numpy-1.3.0-8.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update numpy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/numpy-1.3.0-8.fc13
numpy-1.3.0-8.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update numpy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/numpy-1.3.0-8.fc12
numpy-1.3.0-8.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
numpy-1.3.0-8.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.