diff options
| author | tarek <none@none> | 2009-07-20 09:24:00 +0200 |
|---|---|---|
| committer | tarek <none@none> | 2009-07-20 09:24:00 +0200 |
| commit | d3ba8f0b0453488d8dea19c58de696b9edb7dc08 (patch) | |
| tree | f7d5949cc7413992ba448507ae3a39116740e39d /setuptools/__init__.py | |
| parent | 45ae6fb6610ca3faed32b0267d2cbdd1f8578e59 (diff) | |
| download | python-setuptools-git-d3ba8f0b0453488d8dea19c58de696b9edb7dc08.tar.gz | |
making ez_setup removing an existing setuptools distribution out of the way
--HG--
branch : distribute
extra : rebase_source : a97ad8f22e698747b81a097215b8ebffdf7edae6
Diffstat (limited to 'setuptools/__init__.py')
| -rw-r--r-- | setuptools/__init__.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py index 54dd8158..f911ef8f 100644 --- a/setuptools/__init__.py +++ b/setuptools/__init__.py @@ -13,6 +13,15 @@ __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 ez_setup script for instance, will check if this +# attribute is present to decide wether to reinstall the package +_distribute = True + bootstrap_install_from = None def find_packages(where='.', exclude=()): |
