[Pandas-dev] Script to set up fresh Python 2.7/3.2 virtual build environments on Ubuntu (tested on 12.04.2 LTS)

Stephen Lin stephenwlin at gmail.com
Sat Apr 6 05:28:12 CEST 2013


hmm, ok, maybe after cleaning it up a bit and making it more robust /
customizable; possibly I can support other freshly installed
distributions as well

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


More information about the Pandas-dev mailing list