Source

setuptools / distribute_setup.py

The branch 'distribute' does not exist.
Diff from to

distribute_setup.py

     try:
         try:
             import pkg_resources
+
+            # Setuptools 0.7b and later is a suitable (and preferable)
+            # substitute for any Distribute version.
+            try:
+                pkg_resources.require("setuptools>=0.7b")
+                return
+            except pkg_resources.DistributionNotFound:
+                pass
+
             if not hasattr(pkg_resources, '_distribute'):
                 if not no_fake:
                     _fake_setuptools()