[Django] #34127: after package django project with pyinstall, with manage can't execute other commands defined in other python packages

4 views
Skip to first unread message

Django

unread,
Oct 29, 2022, 3:21:34 AM10/29/22
to django-...@googlegroups.com
#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.

Django

unread,
Oct 29, 2022, 3:34:47 AM10/29/22
to django-...@googlegroups.com
#34127: after package django project with pyinstall, with manage can't execute
other commands defined in other python packages
-------------------------------+--------------------------------------
Reporter: colin | Owner: nobody
Type: Uncategorized | Status: closed
Component: Packaging | Version: 3.1
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

Please don't use Trac as a support channel. Closing per
TicketClosingReasons/UseSupportChannels.

--
Ticket URL: <https://code.djangoproject.com/ticket/34127#comment:1>

Reply all
Reply to author
Forward
0 new messages