Re: django-admin.py shebang

2015-04-04 Thread frantisek holop
Stan, 01 Apr 2015 04:46: > 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 ? is there a good reason to use the latter? "env python" is a terrible hack for systems that are way behind with their "offic

Re: django-admin.py shebang

2015-04-01 Thread Shai Berger
On Wednesday 01 April 2015 18:34:35 James Bennett wrote: > On Wed, Apr 1, 2015 at 10:28 AM, Stan wrote: > > A classical pip install Django command without --mirrors or --use-mirrors > > modifier. > > > > I did some --upgrade, but the first installation is not 10 years old (2 > > maybe). > > > >

Re: django-admin.py shebang

2015-04-01 Thread Florian Apolloner
On Wednesday, April 1, 2015 at 5:34:55 PM UTC+2, James Bennett wrote: > > This right here is the giveaway that what you're looking at is Debian's > version of Django (they modify the name from 'django-admin.py' to > 'django-admin' to suit their policies for file naming). > Newer Django versions

Re: django-admin.py shebang

2015-04-01 Thread Collin Anderson
Hi Stan, If possible, I'd recommend (somehow) getting a pip built against your /usr/local/bin/python, then "/usr/local/bin/pip install django" should do what you want. Collin On Wednesday, April 1, 2015 at 11:28:33 AM UTC-4, Stan wrote: > > > > On Wednesday, April 1, 2015 at 4:15:25 PM UTC+2,

Re: django-admin.py shebang

2015-04-01 Thread James Bennett
On Wed, Apr 1, 2015 at 10:28 AM, Stan wrote: > A classical pip install Django command without --mirrors or --use-mirrors > modifier. > > I did some --upgrade, but the first installation is not 10 years old (2 > maybe). > > > Pip is a Debian package (1.1.3) > > [$ whereis django-admin > django-adm

Re: django-admin.py shebang

2015-04-01 Thread Stan
On Wednesday, April 1, 2015 at 4:15:25 PM UTC+2, Markus Holtermann wrote: > > Hi Stan, > > how did you install Django? As a system package via the system's package > manager or via pip. If its the system package manager, please raise that > bug in the bug tracker of your Linux distribution. If

Re: django-admin.py shebang

2015-04-01 Thread Stan
On Wednesday, April 1, 2015 at 3:58:13 PM UTC+2, Collin Anderson wrote: > > 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 > I didn't check that... > > My qui

Re: django-admin.py shebang

2015-04-01 Thread Markus Holtermann
Hi Stan, how did you install Django? As a system package via the system's package manager or via pip. If its the system package manager, please raise that bug in the bug tracker of your Linux distribution. If the answer is "via pip", from where? PyPI or something obscure? As Collin already wro

Re: django-admin.py shebang

2015-04-01 Thread Collin Anderson
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 O