1. 15 Apr, 2015 4 commits
  2. 05 Apr, 2015 2 commits
  3. 03 Apr, 2015 4 commits
  4. 30 Mar, 2015 2 commits
  5. 28 Mar, 2015 4 commits
  6. 24 Mar, 2015 1 commit
  7. 20 Mar, 2015 18 commits
  8. 19 Mar, 2015 2 commits
    • Jason R. Coombs's avatar
    • Marc Abramowitz's avatar
      DistributionNotFound: Show requirers · 2283fc21
      Marc Abramowitz authored
      It is very helpful to know who required the missing package. E.g.:
      
          pkg_resources.DistributionNotFound: The 'colorama>=0.3.1' distribution was not found and is required by smlib.log.
      
      Note that there was a comment: "unfortunately, zc.buildout uses a str(err) to
      get the name of the distribution here..", but I did a search in the `buildout`
      code and I think that is no longer true, so I think that we're free to make the
      exception message more helpful without risk of breaking buildout:
      
          # In clone from https://github.com/buildout/buildout
          $ ag DistributionNotFound
          src/zc/buildout/buildout.py
          686:        except (ImportError, pkg_resources.DistributionNotFound):
      
          $ pip install --download=. --no-install zc.buildout
          ...
            Saved ./zc.buildout-2.3.1.tar.gz
          ...
          $ tar xf zc.buildout-2.3.1.tar.gz
          $ ag DistributionNotFound zc.buildout-2.3.1
          zc.buildout-2.3.1/src/zc/buildout/buildout.py
          686:        except (ImportError, pkg_resources.DistributionNotFound):
      
      --HG--
      branch : DistributionNotFound_list_requirers
      2283fc21
  9. 15 Mar, 2015 3 commits