[easy_install] stop installing recommends, user should install them manually if desired (avoid errors on optional packages blocking install) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 23 Sep 2010 18:36:46 +0200
branchstable
changeset 6327 73413f2750af
parent 6326 845ae8c8b923
child 6328 b71e9deddf00
[easy_install] stop installing recommends, user should install them manually if desired (avoid errors on optional packages blocking install)
setup.py
--- a/setup.py	Thu Sep 23 18:35:49 2010 +0200
+++ b/setup.py	Thu Sep 23 18:36:46 2010 +0200
@@ -47,7 +47,7 @@
 import __pkginfo__
 if USE_SETUPTOOLS:
     requires = {}
-    for entry in ("__depends__", "__recommends__"):
+    for entry in ("__depends__",): # "__recommends__"):
         requires.update(getattr(__pkginfo__, entry, {}))
     install_requires = [("%s %s" % (d, v and v or "")).strip()
                        for d, v in requires.iteritems()]