#34127: after package django project with pyinstall, with manage can't execute
other commands defined in other python packages
-----------------------------------------+------------------------
Reporter: flyly0755 | Owner: nobody
Type: Uncategorized | Status: new
Component: Packaging | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-----------------------------------------+------------------------
with development mode, after install django-q python package, you can run
python manage.py qcluster releated with django-q.
Also you can check all the custom defined commands and django out-of-box
commands with python manage.py help command.
[auth]
changepassword
createsuperuser
...
[django_q]
qcluster
qinfo
qmemory
qmonitor
...
But after package django project with pyinstall, there isn't a manage.py
file, instead of manage.exe(window) or manage(linux) executable file.
then try with manage qcluster will raise error:
Unknown command: 'qcluster'. Did you mean sqlclear?
Type 'manage help' for usage.
then check with manage help it only shows django out-of-box commands,
without any custom defined commands.
So how to solve this problem? some extra configuration with pyinstaller
.spec file?
--
Ticket URL: <https://code.djangoproject.com/ticket/34127>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.