handle import errors in bin/rip.in; add setuptools to deps

This commit is contained in:
Thomas Vander Stichele
2013-01-28 21:43:15 +01:00
parent 9d9d8a81fd
commit 036bf0bd92
3 changed files with 13 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ class DepsHandler(deps.DepsHandler):
self.add(GStPython())
self.add(CDDB())
self.add(SetupTools())
def report(self, summary):
reporter = os.environ.get('EMAIL_ADDRESS', None)
@@ -47,3 +48,10 @@ class CDDB(deps.Dependency):
return self.Ubuntu_apt('python-cddb')
class SetupTools(deps.Dependency):
module = 'pkg_resources'
name = "python-setuptools"
homepage = "http://pypi.python.org/pypi/setuptools"
def Fedora_install(self, distro):
return self.Fedora_yum('python-setuptools')