summaryrefslogtreecommitdiff
path: root/setuptools/__init__.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-03-03 12:49:20 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-03-03 12:49:20 -0500
commit57a6e413d32ca4cb0854bb9efb275dd757116a99 (patch)
tree1f3d9d1b54f865f9c27388e6dbfe5379610bece4 /setuptools/__init__.py
parent4febe30d3a406b342ef398c95a8cfec6018aa86e (diff)
downloadpython-setuptools-git-57a6e413d32ca4cb0854bb9efb275dd757116a99.tar.gz
Backed out distribute-specific reference in setuptools package
--HG-- branch : Setuptools-Distribute merge extra : source : c8cbca6cc8241eebe20562282c560d8e620a55c6
Diffstat (limited to 'setuptools/__init__.py')
-rw-r--r--setuptools/__init__.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py
index 9de373f9..08de4349 100644
--- a/setuptools/__init__.py
+++ b/setuptools/__init__.py
@@ -14,16 +14,6 @@ __all__ = [
'find_packages'
]
-# This marker is used to simplify the process that checks is the
-# setuptools package was installed by the Setuptools project
-# or by the Distribute project, in case Setuptools creates
-# a distribution with the same version.
-#
-# The distribute_setup script for instance, will check if this
-# attribute is present to decide whether to reinstall the package
-# or not.
-_distribute = True
-
bootstrap_install_from = None
# If we run 2to3 on .py files, should we also convert docstrings?
@@ -51,7 +41,7 @@ def find_packages(where='.', exclude=()):
os.path.isfile(os.path.join(fn,'__init__.py'))
):
out.append(prefix+name); stack.append((fn,prefix+name+'.'))
- for pat in list(exclude)+['ez_setup', 'distribute_setup']:
+ for pat in list(exclude)+['ez_setup']:
from fnmatch import fnmatchcase
out = [item for item in out if not fnmatchcase(item,pat)]
return out