- Timestamp:
- Aug 12, 2011 5:27:07 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 2f5d888
- Parents:
- f1044e9
- Location:
- prview
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/PrView.py
r807560b r8abbb12 34 34 #self.gui = gui_manager.ViewApp(0) 35 35 self.gui = PrApp(0) 36 # Set the application manager for the GUI 37 self.gui.set_manager(self) 38 36 39 # Add perspectives to the basic application 37 40 # Additional perspectives can still be loaded … … 44 47 self.gui.build_gui() 45 48 46 # Set the application manager for the GUI 47 self.gui.set_manager(self) 48 49 49 50 # Start the main loop 50 51 self.gui.MainLoop() -
prview/installer.iss
r807560b r8abbb12 3 3 4 4 [Setup] 5 AppName=PrView-0. 36 AppVerName=PrView 0. 35 AppName=PrView-0.9.1 6 AppVerName=PrView 0.9.1 7 7 AppPublisher=University of Tennessee 8 8 AppPublisherURL=http://danse.chem.utk.edu/ 9 9 AppSupportURL=http://danse.chem.utk.edu/ 10 10 AppUpdatesURL=http://danse.chem.utk.edu/ 11 DefaultDirName={pf}\PrView-0. 312 DefaultGroupName=DANSE\PrView-0. 311 DefaultDirName={pf}\PrView-0.9.1 12 DefaultGroupName=DANSE\PrView-0.9.1 13 13 DisableProgramGroupPage=yes 14 14 LicenseFile=license.txt -
prview/local_config.py
r8e3dc19 r8abbb12 56 56 APPLICATION_WLIST = 'P(r) files (*.prv)|*.prv' 57 57 DEFAULT_STYLE = GUIFRAME.DEFAULT_STYLE 58 GUIFRAME_WIDTH = 90058 GUIFRAME_WIDTH = 1000 59 59 GUIFRAME_HEIGHT = 780 60 60 PLUGIN_STATE_EXTENSIONS = ['.prv'] -
prview/setup_exe.py
r807560b r8abbb12 67 67 self.__dict__.update(kw) 68 68 # for the versioninfo resources 69 self.version = "0. 3"69 self.version = "0.9.1" 70 70 self.company_name = "U Tennessee" 71 71 self.copyright = "copyright 2009" … … 76 76 # to use the MatPlotLib. 77 77 # 78 path = os.getcwd() 79 plugins_dir = os.path.join(path, "plugins") 80 images_dir = os.path.join(path, "images") 81 test_dir = os.path.join(path, "test") 82 78 83 matplotlibdatadir = matplotlib.get_data_path() 79 84 matplotlibdata = findall(matplotlibdatadir) 80 85 data_files = [] 81 86 87 import sans.guiframe as guiframe 88 data_files += guiframe.data_files() 89 82 90 for f in matplotlibdata: 83 91 dirname = os.path.join('mpl-data', f[len(matplotlibdatadir)+1:]) 84 92 data_files.append((os.path.split(dirname)[0], [f])) 85 93 94 f = 'local_config.py' 95 if os.path.isfile(f): 96 data_files.append(('.', [f])) 97 f = 'custom_config.py' 98 if os.path.isfile(f): 99 data_files.append(('.', [f])) 86 100 # Copying the images directory to the distribution directory. 87 for f in findall( 'images'):101 for f in findall(images_dir): 88 102 if os.path.split(f)[0].count('.svn')==0: 89 data_files.append(( os.path.split(f)[0], [f]))103 data_files.append(("images", [f])) 90 104 91 105 # Copying the sample data user data 92 for f in findall( 'test'):106 for f in findall(test_dir): 93 107 if os.path.split(f)[0].count('.svn')==0: 94 data_files.append(( os.path.split(f)[0], [f]))108 data_files.append(("test", [f])) 95 109 96 110 # Copying the sample data user data 97 for f in findall( 'plugins'):111 for f in findall(plugins_dir): 98 112 if os.path.split(f)[0].count('.svn')==0: 99 data_files.append((os.path.split(f)[0], [f])) 100 113 data_files.append(("plugins", [f])) 101 114 # 102 115 # packages
Note: See TracChangeset
for help on using the changeset viewer.