1. 15 Jun, 2015 1 commit
    • Reinout van Rees's avatar
      Removing develop-eggs/ directory before bootstrapping. · 55d76b34
      Reinout van Rees authored
      There is code in buildout to remove develop-eggs that it knows about.
      So if everything is OK, develop-egg removal works fine.
      If there's something fishy goign on, however, buildout
      doesn't clean it up enough. Zapping the entire directory upon bootstrap
      is a very effective way to prevent problems.
      
      Reason: the old osc.recipe.sysegg did add develop-eggs .egg-link files to the
      site-packages dir, effectively short-circuiting buildout's picked versions.
      Likewise an old bootstrap could have left a setuptoos.egg-link to an ancient
      setuptools version. I just this minute had to help a colleague with just such
      a problem.
      55d76b34
  2. 12 Jun, 2015 4 commits
    • Reinout van Rees's avatar
      pep8 · 98eddb30
      Reinout van Rees authored
      98eddb30
    • Reinout van Rees's avatar
      Removed setuptools import for --allow-site-packages · e09821eb
      Reinout van Rees authored
      The only effect of the import is that ez_setup's use_setuptools() function
      does a sys.exit(2) when the required version doesn't match the site package's
      one.
      
      If the import doesn't happen, use_setuptools() will just grab a matching
      version if the site package's version is too old.
      
      Note that the latest ez_setup.py scripts default to requiring the very latest
      setuptools version! So --allow-site-packages isn't really very useful this
      way.
      e09821eb
    • Reinout van Rees's avatar
      Split a wrongly combined try/except ImportError · 7708fe6d
      Reinout van Rees authored
      The python 2/3 try/except for urlopen() was combined with an optional import
      of setuptools and pkg_resources.
      
      The end result is that IF you're on python2 and IF you use
      --allow-site-packages and IF you don't have setuptools installed, THEN you'll
      get an import error for the python 3 urlopen...
      7708fe6d
    • Reinout van Rees's avatar
      Unified capitalization · 5cd5374d
      Reinout van Rees authored
      All options' help text now start with a capital letter.
      5cd5374d
  3. 11 Jun, 2015 2 commits
  4. 10 Jun, 2015 8 commits
  5. 12 Apr, 2015 2 commits
  6. 07 Apr, 2015 1 commit
  7. 20 Mar, 2015 1 commit
  8. 08 Jan, 2015 1 commit
  9. 07 Jan, 2015 3 commits
    • Marius Gedminas's avatar
      Use 'rcN' for release candidate versions in tests · ace153c1
      Marius Gedminas authored
      Recent setuptools versions changed the canonical spelling of release
      candidate versions from 'cN' to 'rcN'.  Using the older spelling causes
      a UserWarning about the version requiring normalization, and test
      failures where the expected output contains a different (normalized)
      version number.
      
      For the record, the UserWarning looks like this:
      
      /home/mg/src/buildout/eggs/setuptools-11.3.1-py2.7.egg/setuptools/dist.py:283:
      UserWarning: The version specified requires normalization, consider
      using '1.2rc1' instead of '1.2c1'.
      
      and the failures can be seen at
      https://travis-ci.org/buildout/buildout/jobs/46215472
      ace153c1
    • Tres Seaver's avatar
      Merge pull request #228 from mgedmin/pkg_resources-is-a-package-now · 88ad9f41
      Tres Seaver authored
      Don't assume pkg_resources is a module.
      88ad9f41
    • Marius Gedminas's avatar
      Don't assume pkg_resources is a module. · e4101a23
      Marius Gedminas authored
      In setuptools < 8.3 pkg_resources.py was a module, so
      
          import pkg_resources
          print(pkg_resources.__file__)
      
      would print something like
      
          /home/mg/src/buildout/eggs/setuptools-8.0.4-py2.7.egg/pkg_resources.py
      
      Starting from setuptools 8.3 pkg_resources became a package, so the
      above code prints
      
          /home/mg/src/buildout/eggs/setuptools-11.3.1-py2.7.egg/pkg_resources/__init__.py
      
      which means a single os.path.dirname() is no longer sufficient to find
      the location of the .egg file/directory.
      
      I'm pretty sure 'setuptools' itself was always a package, so use two
      os.path.dirname()s on setuptools.__file__ to find the .egg location more
      reliably with both old and new setuptools versions.
      
      Fixes https://github.com/buildout/buildout/issues/227
      e4101a23
  10. 06 Jan, 2015 1 commit
  11. 17 Dec, 2014 1 commit
  12. 16 Dec, 2014 4 commits
  13. 14 Dec, 2014 7 commits
  14. 25 Nov, 2014 1 commit
  15. 24 Nov, 2014 3 commits