Have a consistent handling of Django scripts for upstream distributors
|Reported by:||Owned by:||nobody|
|Cc:||gav@…||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Hello, I'm one of the debian maintainer of python-django and have some suggestions.
It would be nice if all the scripts in django/bin/ could:
- be named consistently "django-<something>" so that they can be installed in /usr/bin/ without polluting the namespace (the manual pages in docs/man need to be renamed too)
- all have the standard shebang line "#!/usr/bin/env python" (django/bin/profiling/gather_profile_stats.py lacks it)
- be made executable by default (add the svn:executable property or make sure that setup.py add the executable bits)
Currently Debian already installs django-admin in /usr/bin together with the associated manual page. If the other scripts were renamed, we could so the same and have django-make-messages on the $PATH instead of hidden deep in the standard python hierarchy. BTW, I attach a patch for extras/django_bash_completion that also accept "djando-admin" as name for the django-admin.py script.
Thanks for considering those issues that matters mainly for distributors.
Change History (10)
comment:2 Changed 9 years ago by
|Summary:||Have a consistent handling of Django scripts → Have a consistent handling of Django scripts for upstream distributors|
|Triage Stage:||Unreviewed → Ready for checkin|
comment:6 Changed 9 years ago by
|milestone:||→ 1.0 alpha|
|Triage Stage:||Ready for checkin → Design decision needed|