Untitled Document

Paste from Guest at 2011-08-26 11:05:47 | Syntax: Python | Hits: 72 | Valid for: Never

123456789101112131415161718192021222324252627282930313233343536373839404142
from distutils.core import setup
import matplotlib
import matplotlib.backends.backend_gtkagg
import py2exe
import glib
import gobject
import warnings
warnings.simplefilter('ignore')

mydata=[]
for value in matplotlib.get_py2exe_datafiles():
    mydata.append(value)
mydata.append('myapp.xml')


setup(
    name = 'Iron Concentration Plotter',
    description = 'A tool to plot QSSPC and PL measurements of the interstitial Iron concentration in Silicon wafers',
    version = '1.0',

    windows = [
                  {
                      'script': 'myappfinal.pyw',
                  }
              ],

    options = {
                  'py2exe': {
                      'compressed':1,
                      'optimize':2,
                      'ascii':True,
                      'packages':'encodings',
                      'includes': 'cairo, pango, pangocairo, atk, gobject, gio, glib',
                      'excludes': ['_backend_gdk', '_backend_gtk', '_tkagg,' '_cocoaagg', '_fltkagg','Qt', 'PyQt4','_qt', '_gdk', '_Tkinter', '_ssl', 'Tkinter', '_tcl', 'tcl', 'doctest', "_imagingtk", "PIL._imagingtk", "ImageTk", "PIL.ImageTk", "FixTk", "pydoc"],
                      #'bundle_files':1,
                  }
              },

    data_files=mydata,
    zipfile=None
)


» no title
« no title