Opened 13 months ago

Last modified 12 months ago

#754 new defect

Django root directory discovery in PyInstaller 2.1

Reported by: squishyent@… Owned by: htgoebel
Priority: normal Milestone: PyInstaller 3.0
Component: Hooks Version: develop
Severity: normal Keywords:


There is a bug in PyInstaller?.hooks.hookutils.django_find_root_dir(), on line 273 of, which prevents PyInstaller? from discovering the Django root directory. The problem is the line:

if os.isdir(f):

which should be:

if os.isdir(os.path.join(manage_dir, f)):

This prevents the script from examining the folder which contains and I was getting the following warning:

WARNING: No django root directory could be found!

With the suggested update, the script correctly packages my program.


Change History (1)

comment:1 Changed 12 months ago by matysek

  • Milestone set to PyInstaller 3.0
Note: See TracTickets for help on using tickets.