From: Thomas H. <th...@ct...> - 2014-10-15 18:09:59
|
I will look into that but it might take a few days... Thomas Am 04.10.2014 um 01:23 schrieb William Ferreira: > Goodnight everyone > > I'm trying to compile a simple script that uses PySide[1] into an > executable with py2exe with the following script[2]. Everything works > normal, the generated executable in the "dist" folder along with any > files needed: > > _bz2.pyd > _ctypes.pyd > _hashlib.pyd > _lzma.pyd > _socket.pyd > _ssl.pyd > program.exe > pyexpat.pyd > PySide.QtCore.pyd > PySide.QtGui.pyd > PySide.QtNetwork.pyd > PySide-python3.4.dll > python34.dll > QtCore4.dll > QtGui4.dll > QtNetwork4.dll > select.pyd > shiboken-python3.4.dll > unicodedata.pyd > > > However I would like to generate an executable with .pyd packaged along > with the exe, as is done in DropBox and Ninja IDE. For this it is > necessary to change ** ** bundle_files option for other values, where > two packages the .pyd, the first .pyd and pythonXX.dll or 0 (zero) that > wraps all dll and .pyd. > > Making the change to any of these values py2exe issues a warning that > should have used the option 3. Removing this restriction (method > hook_PySide in hooks.py) rushes the process usually put the runs does > not application issuing the error "zipimport.ZipImportError: can't find > module PySide" > > Examining the executable in 7zip .pyd I noticed that the files were > properly incorporated into the "PySide" folder. > As commented before Dropbox and Ninja IDE, use PyQt and works. > > > Is there anything I can do to solve this problem > ? > > [1] http://pastebin.com/VMGw4Pze > [2] http://pastebin.com/5st6YwAY > > - > William Ferreira > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > |