[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: |
Wed, 11 Dec 2024 12:48:31 +0100 |
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!