diff options
Diffstat (limited to 'pkg_resources.py')
| -rw-r--r-- | pkg_resources.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg_resources.py b/pkg_resources.py index 9ec094a1..0150a0cb 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -25,6 +25,15 @@ from os import utime, rename, unlink, mkdir from os import open as os_open from os.path import isdir, split +# 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 + def _bypass_ensure_directory(name, mode=0777): # Sandbox-bypassing version of ensure_directory() dirname, filename = split(name) |
