GNU bug report logs -
#73816
python-django's manage.py tries to use a hard-coded python executable
Previous Next
Full log
Message #11 received at 73816 <at> debbugs.gnu.org (full text, mbox):
Hi!
Thanks for your input!
On Tue, Dec 10, 2024 at 04:59:27PM +0100, Simon Tournier wrote:
> Now, if the purpose of ’django-admin startproject foobar’ is to only
> create generic configuration that does not depends on any Django or
> Python version, then maybe it could be considered as wrong. :-)
I think this is actually the case! The `startproject' script
initializes a more or less empty project including said `manage.py'
script. Now when starting and developing a Django project, all these
files will end up in VCS, might be packaged somewhat later on (if at
all) and executed on a different system, which may or may not have Guix
available. Apart from that, hard-coding that script without any
guarantee whatsoever that this path exists in the system that will run
the code will more likely result in a failure than any kind of success.
If you have any idea on how to patch that and could point me in that
direction, I'll gladly send in a patch or two!
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.