Re: [cx-freeze-users] Help bundling PyQt5 app
Brought to you by:
atuining
From: Thomas K. <ta...@gm...> - 2014-01-31 19:08:40
|
OK, it's being identified as a dependency of the PyQt library. Can you see what the output is from this command? otool -L /Users/dcortes1/Dropbox/David/PPQT/CoBro/dist/PyQt5.QtCore.so On 30 January 2014 23:39, David Cortesi <dav...@gm...> wrote: > > Can you show the test of the traceback? > > This comes just after copying PyQt5/QtCore.so, so perhaps that's where > the reference is... but where's the damn dylib? > > copying > /Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/PyQt5/QtCore.so > -> /Users/dcortes1/Dropbox/David/PPQT/CoBro/dist/PyQt5.QtCore.so > copying libQtCore.dylib -> > /Users/dcortes1/Dropbox/David/PPQT/CoBro/dist/libQtCore.dylib > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/Current/bin/cxfreeze", > line 5, in <module> > pkg_resources.run_script('cx-Freeze==4.3.2', 'cxfreeze') > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/pkg_resources.py", > line 488, in run_script > self.require(requires)[0].run_script(script_name, ns) > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/pkg_resources.py", > line 1338, in run_script > execfile(script_filename, namespace, namespace) > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/pkg_resources.py", > line 55, in execfile > exec(compile(open(fn).read(), fn, 'exec'), globs, locs) > File > "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cx_Freeze-4.3.2-py3.3-macosx-10.6-intel.egg/EGG-INFO/scripts/cxfreeze", > line 5, in <module> > main() > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/cx_Freeze-4.3.2-py3.3-macosx-10.6-intel.egg/cx_Freeze/main.py", > line 188, in main > freezer.Freeze() > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/cx_Freeze-4.3.2-py3.3-macosx-10.6-intel.egg/cx_Freeze/freezer.py", > line 577, in Freeze > self._FreezeExecutable(executable) > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/cx_Freeze-4.3.2-py3.3-macosx-10.6-intel.egg/cx_Freeze/freezer.py", > line 190, in _FreezeExecutable > exe.copyDependentFiles, scriptModule) > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/cx_Freeze-4.3.2-py3.3-macosx-10.6-intel.egg/cx_Freeze/freezer.py", > line 561, in _WriteModules > self._CopyFile(module.file, target, copyDependentFiles) > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/cx_Freeze-4.3.2-py3.3-macosx-10.6-intel.egg/cx_Freeze/freezer.py", > line 145, in _CopyFile > self._CopyFile(source, target, copyDependentFiles) > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/site-packages/cx_Freeze-4.3.2-py3.3-macosx-10.6-intel.egg/cx_Freeze/freezer.py", > line 137, in _CopyFile > shutil.copyfile(source, target) > File > "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.3/shutil.py", > line 109, in copyfile > with open(src, 'rb') as fsrc: > FileNotFoundError: [Errno 2] No such file or directory: 'libQtCore.dylib' > > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > cx-freeze-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > |