Opened 2 years ago

Closed 2 years ago

#34127 closed Uncategorized (invalid)

after package django project with pyinstall, with manage can't execute other commands defined in other python packages

Reported by: colin Owned by: nobody
Component: Packaging Version: 3.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

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?

Change History (1)

comment:1 by Mariusz Felisiak, 2 years ago

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top