1. 07 Jan, 2015 1 commit
    • 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
  2. 06 Jan, 2015 1 commit
  3. 16 Dec, 2014 2 commits
  4. 14 Dec, 2014 6 commits
  5. 25 Nov, 2014 1 commit
  6. 10 Nov, 2014 4 commits
  7. 06 Nov, 2014 3 commits
    • Marius Gedminas's avatar
      Fix test failures introduced in 067acf75 · 38b6495d
      Marius Gedminas authored
      PKG-INFO for setuptools 3.3 has non-ASCII characters.  This causes
      two test failures on Python 2, one of them rather unobvious
      (testing_bugfix.txt complains about the different number of logging
      handlers, of all things).
      38b6495d
    • Marius Gedminas's avatar
      Add a tox.ini · ff054e48
      Marius Gedminas authored
      This simplifies testing all Python versions to 'tox'.
      
      Unfortunately detox cannot be used to run the tests in parallel since
      dev.py scribbles directly into the top-level of the source tree (in
      bin/).
      ff054e48
    • Marius Gedminas's avatar
      Claim Python 3.4 support · 763ad52e
      Marius Gedminas authored
      Tests with Python 3.4 passed on Travis, for a bit.
      763ad52e
  8. 04 Nov, 2014 8 commits
  9. 03 Nov, 2014 2 commits
  10. 01 Nov, 2014 4 commits
  11. 31 Oct, 2014 8 commits