diff options
| -rw-r--r-- | CHANGES.txt | 2 | ||||
| -rw-r--r-- | distribute_setup.py | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 654aacf1..2707f01c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,6 +10,8 @@ CHANGES * Distribute now recognizes README.rst as a standard, default readme file. * Exclude 'encodings' modules when removing modules from sys.modules. Workaround for #285. +* Issue #231: Don't fiddle with system python when used with buildout + (bootstrap.py) ------ 0.6.26 diff --git a/distribute_setup.py b/distribute_setup.py index ba46350d..b8c4a11d 100644 --- a/distribute_setup.py +++ b/distribute_setup.py @@ -306,6 +306,9 @@ def _create_fake_setuptools_pkg_info(placeholder): log.warn('%s already exists', pkg_info) return + if not os.access(pkg_info, os.W_OK): + log.warn("Don't have permissions to write %s, skipping", pkg_info) + log.warn('Creating %s', pkg_info) f = open(pkg_info, 'w') try: |
