Could someone tell me how to convert python package (python setup.py On Tue, Mar 2, 2010 at 8:10 PM, Scott Ballard <sc...@scottballard.net>wrote:
> You need to include sip: > http://www.py2exe.org/index.cgi/Py2exeAndPyQt > > from distutils.core import setup > import py2exe > setup(windows=[{"script":"main.py"}], options={"py2exe":{"includes":["sip"]}}) > > -Scott > > > On 3/2/2010 8:51 AM, Anshul Jain wrote: > > I have made a very simple browser using Qwebview in PyQt. Now i want to > package it as an installer to distribute it. I have tried out py2exe. But > after i do the command: > > python setup.py py2exe > > and then try and run the .exe file created, i get an error, "no module > named sip found". please help me where am i going wrong. My setup.py code is > as follows: > > from distutils.core import setup > > setup(name = "Aura Browser", > version = "0.1", > description = "A tiny Web Browser", > author = "Anshul kumar Jain", > author_email = "ans...@seeta.in", > url = "http://seeta.in/j/team.html", > packages = [""], > data_files = [("browser/images", ["images/back.png", > "images/home.png", > "images/reload.png", > "images/next.png", > "images/stop.png",])] > ) > > the code has 'browser.py' as main file and a Qt python class file > 'httpWidget.py' > > Please help me sort out the problem. > > Thanks > > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > > > > __________ Information from ESET NOD32 Antivirus, version of virus signature > database 4909 (20100302) __________ > > The message was checked by ESET NOD32 Antivirus. > http://www.eset.com > > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Ruslan Popov phone: +7 916 926 1205
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt