virtualenv with distribute
Hi Tarek, Any idea how I'd go about getting virtualenv to use distribute instead of setuptools? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
On Tue, Aug 11, 2009 at 12:08 PM, Chris Withers
Hi Tarek,
Any idea how I'd go about getting virtualenv to use distribute instead of setuptools?
Hi, I've added some explanation on the pypi page/readme for that : http://pypi.python.org/pypi/distribute#install-faq basically, once you've created your virtualenv, you have to (re)install distribute in it Cheers Tarek
Tarek Ziadé wrote:
I've added some explanation on the pypi page/readme for that : http://pypi.python.org/pypi/distribute#install-faq
basically, once you've created your virtualenv, you have to (re)install distribute in it
Okay, that's clunky... What do we need to make this not suck? My guess is get Ian to do a release of virtualenv that switches from setuptools to distribute? Am I right? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
On Tue, Aug 11, 2009 at 12:36 PM, Chris Withers
Tarek Ziadé wrote:
I've added some explanation on the pypi page/readme for that : http://pypi.python.org/pypi/distribute#install-faq
basically, once you've created your virtualenv, you have to (re)install distribute in it
Okay, that's clunky...
Why that ? if you want to use a software in a virtualenv, you have to (re)install it in there...
Tarek Ziadé wrote:
Why that ? if you want to use a software in a virtualenv, you have to (re)install it in there...
Yeah, but the process of setting up a virtualenv installs setuptools and makes it available to the virtualenv. Rather than installing setuptools, I'd like it to install distribute and use that instead. I don't want to install distribute over setuptools in the virtualenv and wondering if that worked like it should... Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
On Tue, Aug 11, 2009 at 12:43 PM, Chris Withers
Tarek Ziadé wrote:
Why that ? if you want to use a software in a virtualenv, you have to (re)install it in there...
Yeah, but the process of setting up a virtualenv installs setuptools and makes it available to the virtualenv.
Rather than installing setuptools, I'd like it to install distribute and use that instead.
Sure, maybe you could suggest that on the virtual env mailing list, but maybe Ian will want to wait for Distribute 0.7 (that's what I'd do but I am not 100% sure of the best strategy for that)
I don't want to install distribute over setuptools in the virtualenv and wondering if that worked like it should...
It should work. Before I did the release, I have successfully tested installing in a venv, and provided a script for people to try on their side: http://nightly.ziade.org/install_test.py Beside, virtualenv or not, installing over setuptools and preventing setuptools to install itself over distribute is something I took care of by faking a setuptools installation when distribute is installed. Cheers Tarek
participants (2)
-
Chris Withers
-
Tarek Ziadé