[PyQt] Help: packaging PyQt app

Anshul Jain aj.phoenixter at gmail.com
Tue Mar 2 16:51:50 GMT 2010


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 = "anshul at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100302/3b0cd93c/attachment.html>


More information about the PyQt mailing list