I am doing something similar with an app I am developing. Currently, I
don't have a Mac (but I keep staring at the ads <sigh>), so I'm only
developing for Linux (GTK+) and Windows.
I'm using cxFreeze to create a double-clickable icon for both platforms.
I'm using wxPython and the app will be connecting to a PostgreSQL
database server.
I think I could have also used Py2Exe for the Windows version. One
advantage of Py2Exe is that it would allow me to have a custom icon. I
admit I haven't spent a whole lot of time with cxFreeze, but my
distribution ends up with a generic icon on both platforms.
cxFreeze generates a double clickable icon to launch the app, but there
are several other files that need to be distributed. For the most part,
cxFreeze places these files in the 'dist' folder/directory along with
the launching icon. However, I did discover that there were a few files
that were missing when I went to run the app on a 'clean' workstation
(i.e. one without Python or the various support libraries already
installed). I added these files and that seemed to fix it.
Windows: gdiplus.dll and possibly dbnetlib.dll (TCP/IP access to
MSSQL/MSDE)
Linux (Ubuntu/Kubuntu): libpq.so.4 (PostgreSQL support), libsydb.so.5
(MSSQL/MSDE support) and libpython2.4.so.1.0
On Windows, that was all that was needed. On Linux, I had to run
ldconfig to add the directory containing those libraries to the library
cache (there may be a better way to do that, I'm still learning Linux).
Mark
ยทยทยท
On Sun, 2008-04-06 at 11:01 -0700, Brian Hamlin wrote:
I am evaluating a few options for a new project. I still know
relatively little about what is possible and/or common in wxPython.I'd like the result of the project to be a double-clickable icon
for
Windows and Mac (hopefully Linux)I'd like the app to use SqlLite as the data store..
In other worlds, SqlLite is often embedded in the app, so its just
one thing (no install step).. Can I do this with wxPython? Is this
common? Confession: I work on a Mac, but the thing will run mainly on
PCs.