[pony-build] Making virtualenv Fail

C. Titus Brown ctb at msu.edu
Wed Feb 10 08:14:37 PST 2010


subprocess returncode/status code == 0 => success

On Wed, Feb 10, 2010 at 11:13:20AM -0500, Rosangela Canino-Koning wrote:
> Asserts are typically the preferred method for this. What kind of error does
> pip return (or throw?) if it fails to install?
> 
> -rose
> 
> On Wed, Feb 10, 2010 at 10:50 AM, Max Laite <mlaite at gmail.com> wrote:
> 
> > I been thinking on some stuff to make virtualenv fail if pip can not
> > install a dep. I have a few ideas, but the easiest would be to use a simple
> > try block. I wanted to pass it by you guys to see if I am missing something
> > in my thought process behind this.
> >
> > The other way was to catch the output from pip and parse for failed or
> > something like that.
> >
> > Max
> >
> > _______________________________________________
> > pony-build mailing list
> > pony-build at lists.idyll.org
> > http://lists.idyll.org/listinfo/pony-build
> >
> >

> _______________________________________________
> pony-build mailing list
> pony-build at lists.idyll.org
> http://lists.idyll.org/listinfo/pony-build


-- 
C. Titus Brown, ctb at msu.edu



More information about the pony-build mailing list