Asserts are typically the preferred method for this. What kind of error does pip return (or throw?) if it fails to install?<br><br>-rose<br><br><div class="gmail_quote">On Wed, Feb 10, 2010 at 10:50 AM, Max Laite <span dir="ltr">&lt;<a href="mailto:mlaite@gmail.com">mlaite@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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.<br>


<br>The other way was to catch the output from pip and parse for failed or something like that.<br><font color="#888888"><br>Max<br>
</font><br>_______________________________________________<br>
pony-build mailing list<br>
<a href="mailto:pony-build@lists.idyll.org">pony-build@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/pony-build" target="_blank">http://lists.idyll.org/listinfo/pony-build</a><br>
<br></blockquote></div><br>