GNU bug report logs - #73816
python-django's manage.py tries to use a hard-coded python executable

Previous Next

Package: guix;

Reported by: Gabriel Wicki <gabriel <at> erlikon.ch>

Date: Tue, 15 Oct 2024 09:50:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Gabriel Wicki <gabriel <at> erlikon.ch>
To: 73816 <at> debbugs.gnu.org
Subject: bug#73816: python-django's manage.py tries to use a hard-coded python executable
Date: Tue, 15 Oct 2024 11:48:44 +0200
The python-django package makes the admin utility create a manage.py
file with a hard-coded python interpreter.

  $ guix shell python python-django -- django-admin startproject foobar
  $ head -n 1 foobar/manage.py
  #!/gnu/store/my2j5bzapayk59971z2ryzlajdz569f9-python-toolchain-3.10.7/bin/python

I think this is wrong.  The interpreter line should be

  #!/usr/bin/env python3

Or am I wrong?




This bug report was last modified 189 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.