<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 3, 2013 at 1:14 PM, Stephen Lin <span dir="ltr"><<a href="mailto:stephenwlin@gmail.com" target="_blank">stephenwlin@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi all,<br>
<br>
I've set up a new development machine lately and decided to write all<br>
the steps down as a script in order to make it easier to reproduce<br>
later.<br>
<br>
I've decided to contribute it to the list in case anyone else finds it<br>
helpful. It's tested to work unattended on a fresh Ubuntu 12.04.2 LTS<br>
installs (32-bit and 64-bit), and should be useful for other<br>
distributions as well with some modifications.<br>
<br>
There are two optional parameters, first the username for the pandas<br>
fork to check out, and second the username for the vbench fork to<br>
check out; pydata versions are used if the latter or both are omitted.<br>
<br>
Also, it sets up .env2.7 and .env3.2 virtualenv directories as<br>
subdirectories of the checked out pandas directory and installs<br>
necessary dependencies into them in the correct order (which should<br>
all succeed since the necessary system-wide c libraries are first<br>
installed via apt-get.) Some optional dependencies are omitted in the<br>
3.2 environment since they don't seem to build correctly and I didn't<br>
spend much time trying to fix them.<br>
<br>
There's basically no error checking, but it shouldn't do anything that<br>
could clobber anything in case any intermediate steps fail: probably<br>
best to run it with stdout and stderr both tee'ed to a log file just<br>
in case, though, and/or more checks if you're not using directly on<br>
12.04.2 LTS.<br>
<br>
Stephen<br>
<br>
---------- Forwarded message ----------<br>
From: Stephen Lin <<a href="mailto:stephenwlin@gmail.com">stephenwlin@gmail.com</a>><br>
Date: Wed, Apr 3, 2013 at 4:02 PM<br>
Subject:<br>
To: <a href="mailto:stephenwlin@gmail.com">stephenwlin@gmail.com</a><br>
<br>_______________________________________________<br>
Pandas-dev mailing list<br>
<a href="mailto:Pandas-dev@python.org">Pandas-dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pandas-dev" target="_blank">http://mail.python.org/mailman/listinfo/pandas-dev</a><br>
<br></blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra" style>Maybe put this on the pandas github wiki?</div></div>