Is this a pyinstaller problem? I just tried: python
.\pyinstaller-2.0\pyinstaller.py -F .\proj.py
...
4727 INFO: Analyzing proj.py
5886 WARNING: pywintypes is changing its name to pywintypes27
10138 INFO: checking Tree
10257 INFO: checking Tree
Traceback (most recent call last):
File "./build/pyinstaller-2.0/pyinstaller.py", line 91, in <module>
main()
File "./build/pyinstaller-2.0/pyinstaller.py", line 86, in main
run_build(opts, spec_file)
File "./build/pyinstaller-2.0/pyinstaller.py", line 50, in run_build
PyInstaller.build.main(spec_file, **opts.__dict__)
File ".\build\pyinstaller-2.0\PyInstaller\build.py", line 1625, in main
build(specfile, buildpath)
File ".\build\pyinstaller-2.0\PyInstaller\build.py", line 1582, in build
execfile(spec)
File ".\proj.spec", line 5, in <module>
hookspath=None)
File ".\build\pyinstaller-2.0\PyInstaller\build.py", line 389, in __init
__
self.__postinit__()
File ".\build\pyinstaller-2.0\PyInstaller\build.py", line 315, in __post
init__
self.assemble()
File ".\build\pyinstaller-2.0\PyInstaller\build.py", line 475, in assemb
le
importTracker.analyze_script(script)
File ".\build\pyinstaller-2.0\PyInstaller\depend\imptracker.py", line 20
5, in analyze_script
return self.analyze_r('__main__')
File ".\build\pyinstaller-2.0\PyInstaller\depend\imptracker.py", line 98
, in analyze_r
newnms = self.analyze_one(name, nm, imptyp, level)
File ".\build\pyinstaller-2.0\PyInstaller\depend\imptracker.py", line 15
9, in analyze_one
mod = self.doimport(nm, ctx, fqname)
File ".\build\pyinstaller-2.0\PyInstaller\depend\imptracker.py", line 25
6, in doimport
hooks = __import__('PyInstaller.hooks', globals(), locals(), [hookmodnm])
File ".\build\pyinstaller-2.0\PyInstaller\hooks\hook-django.py", line 47
, in <module>
for root_dir in django_root_dirs]
File ".\build\pyinstaller-2.0\PyInstaller\hooks\hookutils.py", line 205,
in django_dottedstring_imports
package_name = os.path.basename(django_root_dir)
File "C:\Python27\lib\ntpath.py", line 198, in basename
return split(p)[1]
File "C:\Python27\lib\ntpath.py", line 181, in split
return d + head, tail
TypeError: cannot concatenate 'str' and 'list' objects
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pyinstaller/-/NlVPuP-ic6gJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.