On Mon, Feb 6, 2012 at 20:03, mmarco <mma...@unizar.es> wrote:
> I have little experience with pyqt, and i am not sure that would be
> the way to go. A windows user that would want to use a pyqt program
> would need to have installed in his system: python, pyqt and qt. The
> offline windows installer of qt is 1.3 gigs. That's overkill for a
> simple gui app. There must be a simpler way to do it.
>
> I haven't used pyside, but for what i see in the documentation, it
> follows the same approach than pyqt.

This is 100% avoidable. Here is an example of a standalone Windows
executable which is written in Python using PyQt: http://ankisrs.net/
After installation it is a couple dozen megabytes, and this is a
full-featured application that does a bunch of stuff including
audio/video playback, HTML rendering, network connectivity, sqlite
data storage, etc. etc.

I'm not sure exactly how it is done but I assume it uses some
combination of py2exe and Qt tools. (Taking a look in the source code
should prove enlightening: http://github.com/dae/ankiqt ). After
installation there are some Qt-named DLL files sitting in the
program's directory. You absolutely do not need the Qt SDK, or a copy
of Python, or a copy of PyQt to run such an application. To develop
the application is a different story of course.

-Keshav

----
Join us in #sagemath on irc.freenode.net !

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to