Commits

Anonymous committed f7f2660

In the bootstrap script, don't attempt to write the setuptools egg info if write permission isn't available. Fixes #231.

  • Participants
  • Parent commits 489d366

Comments (0)

Files changed (2)

 =======
 
 ------
+0.6.27
+------
+
+* Issue #231: Don't fiddle with system python when used with buildout (bootstrap.py)
+
+------
 0.6.26
 ------
 

distribute_setup.py

         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: