How to install wxPython application.
Mark Erbaugh
mark at microenh.com
Wed Apr 30 08:47:27 PDT 2008
On Wed, 2008-04-30 at 10:58 -0400, Brian Vanderburg II wrote:
> The directory layout (currently) is as follows:
>
> /MyProgram.py - Simple launcher
> /application/ - Package
> /data/ - Application data
> /docs/ - Standard documentation files
> /prefix/bin/MyProgram.py - Simple launcher, detect prefix, update
> sys.path to include /prefix/lib/MyProgram/application and then import
> and run application.main()
> /prefix/lib/MyProgram/ - Contain 'application' package under application
> directory
> /prefix/share/MyProgram/ - Application data
I've used a similar directory layout in some of my programs. I use the
location of the launcher program to determine where the application
directory is and insert that into sys.path. I usually put application
data in a hidden directory off of the user's home directory:
/home/user/.MyProgram
Mark
More information about the wx-users
mailing list