bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#73816: python-django's manage.py tries to use a hard-coded python ex


From: Gabriel Wicki
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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]