Hi Stan,

In the source, it's looks like it's been using #!/usr/bin/env python for 
almost 10 years:
https://github.com/django/django/blame/master/django/bin/django-admin.py

My quick guess is that gets modified when installing. Did you use the newer 
version of python to install django?

Collin

On Wednesday, April 1, 2015 at 7:46:34 AM UTC-4, Stan wrote:
>
> Hi devs,
>
> Is there a good reason for having the shebang line in django-admin.py at 
> #!/usr/bin/python
> "instead" of #!/usr/bin/env python ?
>
> My problem is I have a newer version of Python installed in 
> */usr/local/opt/* declared in my PATH 
> that I want to test but the hardcoded path to /usr/bin/python ignore the 
> PATH value.
>
> I know that virtualenv is the way to go...
>
> Thanks !
>
> --
> Stan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/0d9b4be9-acf6-4258-a6bd-3aa8e89a0836%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to