#20027: manage.py shebang should reflect used python executable
---------------------------+--------------------------------------
     Reporter:  anonymous  |                    Owner:  nobody
         Type:  Bug        |                   Status:  closed
    Component:  Python 3   |                  Version:  1.5
     Severity:  Normal     |               Resolution:  wontfix
     Keywords:             |             Triage Stage:  Unreviewed
    Has patch:  0          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  0          |                    UI/UX:  0
---------------------------+--------------------------------------

Comment (by collinanderson):

 I expect this will become more of an issue soon when people start using
 Ubuntu 16.04, which doesn't have /usr/bin/python installed by default. It
 basically means Django won't work outside of a virtualenv unless you
 manually change manage.py.

 os.path.basename(sys.executable) seems reasonable to me.

 Or, we could hard code it as python3 and and tell people to change it by
 hand if they really want to start a new project using python 2. :)

 Or just wait til January when we remove py2 support anyway.

--
Ticket URL: <https://code.djangoproject.com/ticket/20027#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c90ccc95f5113e6b215eb12e5c01574c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to