Hi,<br><br>I have a working virtualenv cell magic extension. It allows to run any the code within a cell through a pre-existing virtualenv created by the user on his machine. It's great to run code on other version of Python, such as PyPy, or Python 3.x! and maybe compare performances of code snippets....<br>
<br>Here is what it looks like on my fork of Ipython:<br><a href="https://plus.google.com/u/0/photos/106488325672572942691/albums/5751816550405220433/5751816549008941538">https://plus.google.com/u/0/photos/106488325672572942691/albums/5751816550405220433/5751816549008941538</a><br>
<br>I have the feeling that other IPython users may find this useful. How should I proceed to contribute this extension? Should I simply make a pull request?<br><br>To make it easier I also have the code for the extension and its tests on this gist, for anyone that wishes to review it:<br>
<br><a href="https://gist.github.com/2874403">https://gist.github.com/2874403</a><br><br>cheers,<br><br>Flávio<br><br><div class="gmail_quote">On Wed, Jun 6, 2012 at 5:24 PM, Flavio Coelho <span dir="ltr"><<a href="mailto:fccoelho@gmail.com" target="_blank">fccoelho@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>thanks Fernando and Thomas,</div><div><br></div><div>I have so far managed to get the tests running on my extension. I hope to get the extension to work soon. </div>
<div><br></div><div>cheers,</div><div><br></div><div>
Flávio</div><div><div><div class="h5"><br><div class="gmail_quote">On Wed, Jun 6, 2012 at 3:28 PM, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 6 June 2012 19:11, Flavio Coelho <<a href="mailto:fccoelho@gmail.com" target="_blank">fccoelho@gmail.com</a>> wrote:<br>
> Is there a way to run my extension tests outside the IPython package? I am<br>
> developing it in a gist<br>
> (<a href="https://gist.github.com/2874403/58afe50683442725184a0aad7bfceeb95be6a14e" target="_blank">https://gist.github.com/2874403/58afe50683442725184a0aad7bfceeb95be6a14e</a>)<br>
> for now... I have not (yet) forked the Ipython repo...<br>
<br>
</div>No, but it would be a good idea to have a standard way to do that.<br>
<div><div><br>
Thomas<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org" target="_blank">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><div class="im">-- <br>Flávio Codeço Coelho<br>================<br><a href="tel:%2B55%2821%29%203799-5567" value="+552137995567" target="_blank">+55(21) 3799-5567</a><br>
Professor<br>Escola de Matemática Aplicada <br>Fundação Getúlio Vargas<br>Rio de Janeiro - RJ<br>
Brasil<br><br><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Flávio Codeço Coelho<br>================<br>+55(21) 3799-5567<br>Professor<br>Escola de Matemática Aplicada <br>Fundação Getúlio Vargas<br>Rio de Janeiro - RJ<br>Brasil<br>
<br><br>