Re: How to make django use a different python interpreter located at some random location.

2010-03-11 Thread Bill Freeman
Assuming that you're talking about runserver, then use the python that you want when you invoke manage: /home/me/bin/my_special_python manage.py runserver You could also edit the first line of manage.py to specify the path to that python, make sure that manage.py has it's execute bit(s) set

Re: How to make django use a different python interpreter located at some random location.

2010-03-11 Thread bx2
The best option is to use buildout (there is no need for creating virtualenv - much more simple and much more flexible solution). Also it will be easier to further deploy your projects. The second option is to modify your manage.py script by adding custom path to it ie. import sys sys.path[0:0]

Re: How to make django use a different python interpreter located at some random location.

2010-03-11 Thread felix
also checkout buildout which does a similar thing to virtualenv but also allows you to specify the exact interpreter and all dependencies / eggs / apps and installs those. it makes development very portable since you can quickly set up the exact same environment (including a specific python

Re: How to make django use a different python interpreter located at some random location.

2010-03-11 Thread Jeremy Sandell
On Mar 10, 11:41 pm, Abhinov wrote: > Hi All, > > How to make my django use a different python interpreter located at > some random location ? > Any help will be of great help. > > Regards, > Abhinov I'll second Bjunix's recommendation of checking out virtualenv. It

Re: How to make django use a different python interpreter located at some random location.

2010-03-11 Thread Bjunix
You may want to take a look at virtualenv[1]. [1] http://pypi.python.org/pypi/virtualenv On Mar 11, 5:41 am, Abhinov wrote: > Hi All, > > How to make my django use a different python interpreter located at > some random location ? > Any help will be of great help. > >

Re: How to make django use a different python interpreter located at some random location.

2010-03-11 Thread Graham Dumpleton
On Mar 11, 3:41 pm, Abhinov wrote: > Hi All, > > How to make my django use a different python interpreter located at > some random location ? > Any help will be of great help. How are you hosting it? Are you talking about Django runserver or some other hosting

How to make django use a different python interpreter located at some random location.

2010-03-10 Thread Abhinov
Hi All, How to make my django use a different python interpreter located at some random location ? Any help will be of great help. Regards, Abhinov -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to