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
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).
> >
> >
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
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,
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
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
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
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
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
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/pyth
10 matches
Mail list logo