Bunny Rabbit
Bunny Rabbit

Reputation: 8411

How to set the value of PATH variable in a virtualenv?

I have installed virtualenv and created a virtualenv directory for testing out the newer development version of django.I git cloned the latest version of django and placed .pth file inside the virtualenv's site package directory to the cloned django dir.Now I need to modify the PATH variable(to include django/bin) so that django-admin.py is accessible from the virtualenv.How can i do it?

My current PATH in virtualenv includes a directory

django/core/django/bin

Why does it include it ? I haven't done any modification to PATH right now.

--I've given the relative path of the django directory here instead of the fullpath to mimnimize the clutter.

Upvotes: 1

Views: 332

Answers (1)

Chris Pratt
Chris Pratt

Reputation: 239290

It's far easier to pip install using the repo itself. Then, all the linking is done for you automatically:

Just use:

$ pip install svn+http://code.djangoproject.com/svn/django/trunk/#egg=django

And, you're ready to roll.

Upvotes: 1

Related Questions