Mercurial > hg > buttercup
changeset 49:e3770a2530ff
STUB: buttercup/buttercup.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 25 Jan 2014 18:42:50 -0800 |
parents | c99fbe84c3c2 |
children | 0c66ca55e336 |
files | buttercup/buttercup.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/buttercup/buttercup.py Sat Jan 25 17:17:26 2014 -0800 +++ b/buttercup/buttercup.py Sat Jan 25 18:42:50 2014 -0800 @@ -76,12 +76,12 @@ if source_objs is None: source_objs = source.sources(self.sources, srcdir=self.srcdir) for source_obj in source_objs: - if os.path.exists(os.path.join(source_obj.directory(), 'setup.py')): + directory = source_obj.directory() + if os.path.exists(os.path.join(directory, 'setup.py')): try: call(['python', 'setup.py', 'develop'], cwd=source_obj.directory()) except Exception as e: - import pdb; pdb.set_trace() - raise SetupError(str(e)) + raise SetupError(str(e), directory, source_obj.uri) def deploy(self): self.install()