On Wed, 28 Jun 2006 13:32:15 -0500 Robert Kern <[EMAIL PROTECTED]> wrote:
> Fernando Perez wrote: > > > Is it really necessary to have all that setuptools junk left around, > > for those of us who aren't asking for it explicitly? My personal > > opinions on setuptools aside, I think it's just a sane practice not to > > create this kind of extra baggage unless explicitly requested. > > > > I scoured my home directory for any .file which might be triggering > > this inadvertedly, but I can't seem to find any, so I'm going to guess > > this is somehow being caused by numpy's own setup. If it's my own > > mistake, I'll be happy to be shown how to coexist peacefully with > > setuptools. > > > > Since this also affects user code (I think via f2py or something > > internal to numpy, since all I'm calling is f2py in my code), I really > > think it would be nice to clean it. > > numpy.distutils uses setuptools if it is importable in order to make sure > that the two don't stomp on each other. It's probable that that test could > probably be done with Andrew Straw's method: > > if 'setuptools' in sys.modules: > have_setuptools = True > from setuptools import setup as old_setup > else: > have_setuptools = False > from distutils.core import setup as old_setup > > Tested patches welcome. Done. I've also added a 'setupegg.py' module that wraps running 'setup.py' with an import of setuptools (it's based on the one used in matplotlib). easy_install still works, also. -- |>|\/|< /--------------------------------------------------------------------------\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion