Package setup


Functions

def tree

Variables

string appPath = 'C:\work\RevealedSystems\EyeSpy-RS\eyespy\src'
 Setup.py is py2exe tool used to "compile" and package the application into a redistributable executable.
string PythonPath = 'C:\win32app\Python25'
dictionary opts
list data_files

Function Documentation

def setup.tree (   src  ) 

Definition at line 33 of file setup.py.

00033              :
00034     pathList = [map(lambda f: os.path.join(root, f), files)
00035     for (root, dirs, files) in os.walk(os.path.normpath(src))]
00036     
00037     retList = []
00038     for paths in pathList:
00039         retList += paths
00040         
00041     return retList; 
00042 
opts = {


Variable Documentation

string setup.appPath = 'C:\work\RevealedSystems\EyeSpy-RS\eyespy\src'

Setup.py is py2exe tool used to "compile" and package the application into a redistributable executable.

Be sure to set up these variables before attempting to create an executable

Definition at line 30 of file setup.py.

Initial value:

[(r'',glob.glob(appPath + r'\extras\*.*')),
                  (r'res', tree(appPath + '\res')),                
                  (r'res\storage', glob.glob(appPath + r'\res\storage\*.*')),
                  (r'res\images', glob.glob(appPath + r'\res\images\*.*')),
                  (r'res\images\ico', glob.glob(appPath + r'\res\images\ico\*.*')),
                  matplotlib.get_py2exe_datafiles(),
                  (r'share\basemap', glob.glob(PythonPath + r'\share\basemap\*.*')), 
                  (r'config',glob.glob(appPath + r'\config\*.*'))]

Definition at line 60 of file setup.py.

dictionary setup.opts

Initial value:

{
    'py2exe': { "includes" : ["matplotlib.backends",  "matplotlib.backends.backend_wx",
     "matplotlib.figure","pylab", "numpy", "matplotlib.numerix.fft",
     "matplotlib.numerix.linear_algebra", "matplotlib.numerix.random_array",
     "matplotlib.backends.backend_tkagg", "matplotlib.toolkits.basemap", ],
                 'excludes': ['_gtkagg', '_tkagg', '_agg2', '_cairo', '_cocoaagg',
                              '_fltkagg', '_gtk', '_gtkcairo', "pcapyImplementation"],
                 'dll_excludes': ['libgdk-win32-2.0-0.dll',
                                  'libgobject-2.0-0.dll',
                                  'wxmsw26uh_vc.dll',
                                  'libgdk_pixbuf-2.0-0.dll'],
                 'skip_archive': 1,
                 'packages' : ['matplotlib', 'pytz']
              }
        }

Definition at line 43 of file setup.py.

string setup.PythonPath = 'C:\win32app\Python25'

Definition at line 31 of file setup.py.


Generated on Mon Mar 30 00:26:48 2009 for EyeSpy by  doxygen 1.5.8