Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Copy Source | Copy HTML from distutils .core import setup from distutils .dir_util import copy_tree from py2exe.build_exe import py2exe import glob import os import zlib import shutil import time import shutil import enthought.tvtk import enthought.mayavi import vtk import sys import M2Crypto import h5py ############## distDit = "my_app_builded_folder" ############## class Target (object): """ A simple class that holds information on our executable file. """ def __init__ (self, **kw): """ Default class constructor. Update as you need. """ self . __dict__ .update(kw) # ETS and VTK tvtkPath = os .path.join( os .path.join(distDir, "enthought" ), "tvtk" ) copy_tree(enthought.tvtk.__path__[ 0 ], tvtkPath ) mayaviPath = os .path.join( os .path.join(distDir, "enthought" ), "mayavi" ) copy_tree(enthought.mayavi.__path__[ 0 ], mayaviPath ) vtkPath = os .path.join( distDir, "vtk" ) copy_tree(vtk.__path__[ 0 ], vtkPath ) # M2Crypto m2CryptoPath = os .path.join( distDir, "M2Crypto" ) copy_tree(M2Crypto.__path__[ 0 ], m2CryptoPath ) # h5Py h5pyPath = os .path.join( distDir, "h5py" ) copy_tree(h5py.__path__[ 0 ], h5pyPath ) includes = [ 'enthought' , 'vtk' , 'M2Crypto' , 'h5py' ] excludes = [ '_gtkagg' , '_tkagg' , 'bsddb' , 'curses' , 'email' , 'pywin.debugger' , 'pywin.debugger.dbgcon' , 'pywin.dialogs' , 'tcl' , 'Tkconstants' , 'Tkinter' ] packages = [ 'enthought' , 'vtk' ] dll_excludes = [ 'libgdk-win32-2.0-0.dll' , 'libgobject-2.0-0.dll' , 'tcl84.dll' , 'tk84.dll' ] data_files = [] icon_resources = [] bitmap_resources = [] other_resources = [] MyApp_Target = Target ( # what to build script = "run.py" , icon_resources = icon_resources, bitmap_resources = bitmap_resources, other_resources = other_resources, dest_base = "my_app" , version = "0.1.0" , company_name = "My Company" , copyright = "My Company" , name = "My App" , ) setup( data_files = data_files, options = { "py2exe" : { "compressed" : 0 , "optimize" : 1 , "includes" : includes, "excludes" : excludes, "packages" : packages, "dll_excludes" : dll_excludes, "bundle_files" : 3 , "dist_dir" : distDir, "xref" : False, "skip_archive" : True, "ascii" : False, "custom_boot_script" : '' , } }, zipfile = r 'library.zip' , console = [], windows = [MyApp_Target], service = [], com_server = [], ctypes_com_server = [] )
Source: https://habr.com/ru/post/117686/
All Articles