[Tutor] Python 2.7 Static Version and Postgresql

Walter Prins wprins at gmail.com
Tue May 29 17:26:52 CEST 2012


On 29 May 2012 14:40, Opher Lubzens <opher.lubzens at gmail.com> wrote:
> This is supposed to be a QA tool to be run on virtual machines to make
> sure several of our features work correctly and do not degrade during
> development and version changes.


> Our machines are susually running a secure variant of the Linux bash
> shell, (the specific flavour is company- developed). Unfortunately
> this means that I cannot make sure there
> is any additional library, or other modification that is not included
> in a static bundle, on the machine- thus the need for either a
> built-in or the ability to rebundle the package so
> it includes them.

I presume you can't develop on a VM which is less restrictive by any
chance?  How about setting up something similar to Movable Python or
Portable Python on a disk (or disk file, or USB key, or ISO image or
whatever, something that can be accessed by the VM's you want to test)
that is less restrictive than static Python?  As you can tell I'm
resisting the static Python route as I expect that route will
ultimately require you to rebuild static Python yourself with the
needed Postgres modules/libraries included, and I suspect that path
will likely be harder than setting up a distribution of Python that
can be moved about easily and re-used on the VM's you're trying to


More information about the Tutor mailing list