Lucid Alpha and Python 2.4
clifford_ilkay at dinamis.com
Thu Feb 11 22:45:42 GMT 2010
On 02/11/2010 05:25 PM, Johnneylee Rollins wrote:
>> What is the application? I'd be inclined NOT to use the Debian package
>> and just do a "pip install theApplication" into the virtualenv you
>> create for this application.
> For what reasons? Why not just keep your karmic install and use a
> chroot environment for lucid?
Because if you know what you're doing, you don't have to.
> So many possibilities. My personal answer would be to make a virtual
> machine or chroot of lucid and then put it on it's own partition when
> you're satisfied.
That's overkill. I'm perfectly capable of deploying a Xen or OpenVZ VPS
(OpenVZ is like chroot done right) but I see no reason why I'd do either
of those things when I could (and do) just create a virtualenv and
deploy the Python app in question with all its dependencies in the
virtualenv. The virtualenv is a virtual environment for Python, nothing
else. It basically handles PYTHONPATH "automagically" for you so that
you don't have to do it manually. It's perfectly feasible to do it
You really ought to read the pages referenced in the links I posted
about virtualenv a few messages ago. I've pasted below for your convenience.
Install virtualenv <http://pypi.python.org/pypi/virtualenv> and then
build 2.4 in a virtual environment you create with virtualenv.
Virtualenvwrapper <http://pypi.python.org/pypi/virtualenvwrapper> is
also pretty useful. You should also read this:
to have a better understanding of what is possible with all this.
1419-3266 Yonge St.
Canada M4N 3P6
More information about the ubuntu-users