Changeset 8abbb12 in sasview


Ignore:
Timestamp:
Aug 12, 2011 3:27:07 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

some updates

Location:
prview
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • prview/PrView.py

    r807560b r8abbb12  
    3434        #self.gui = gui_manager.ViewApp(0)  
    3535        self.gui = PrApp(0) 
     36         # Set the application manager for the GUI 
     37        self.gui.set_manager(self) 
     38         
    3639        # Add perspectives to the basic application 
    3740        # Additional perspectives can still be loaded 
     
    4447        self.gui.build_gui() 
    4548         
    46         # Set the application manager for the GUI 
    47         self.gui.set_manager(self) 
    48          
     49        
    4950        # Start the main loop 
    5051        self.gui.MainLoop()   
  • prview/installer.iss

    r807560b r8abbb12  
    33 
    44[Setup] 
    5 AppName=PrView-0.3 
    6 AppVerName=PrView 0.3 
     5AppName=PrView-0.9.1 
     6AppVerName=PrView 0.9.1 
    77AppPublisher=University of Tennessee 
    88AppPublisherURL=http://danse.chem.utk.edu/ 
    99AppSupportURL=http://danse.chem.utk.edu/ 
    1010AppUpdatesURL=http://danse.chem.utk.edu/ 
    11 DefaultDirName={pf}\PrView-0.3 
    12 DefaultGroupName=DANSE\PrView-0.3 
     11DefaultDirName={pf}\PrView-0.9.1 
     12DefaultGroupName=DANSE\PrView-0.9.1 
    1313DisableProgramGroupPage=yes 
    1414LicenseFile=license.txt 
  • prview/local_config.py

    r8e3dc19 r8abbb12  
    5656APPLICATION_WLIST = 'P(r) files (*.prv)|*.prv' 
    5757DEFAULT_STYLE = GUIFRAME.DEFAULT_STYLE 
    58 GUIFRAME_WIDTH = 900 
     58GUIFRAME_WIDTH = 1000 
    5959GUIFRAME_HEIGHT = 780 
    6060PLUGIN_STATE_EXTENSIONS = ['.prv'] 
  • prview/setup_exe.py

    r807560b r8abbb12  
    6767        self.__dict__.update(kw) 
    6868        # for the versioninfo resources 
    69         self.version = "0.3" 
     69        self.version = "0.9.1" 
    7070        self.company_name = "U Tennessee" 
    7171        self.copyright = "copyright 2009" 
     
    7676# to use the MatPlotLib. 
    7777# 
     78path = os.getcwd() 
     79plugins_dir = os.path.join(path, "plugins") 
     80images_dir = os.path.join(path, "images") 
     81test_dir = os.path.join(path, "test") 
     82 
    7883matplotlibdatadir = matplotlib.get_data_path() 
    7984matplotlibdata = findall(matplotlibdatadir) 
    8085data_files = [] 
    8186 
     87import sans.guiframe as guiframe 
     88data_files += guiframe.data_files() 
     89 
    8290for f in matplotlibdata: 
    8391    dirname = os.path.join('mpl-data', f[len(matplotlibdatadir)+1:]) 
    8492    data_files.append((os.path.split(dirname)[0], [f])) 
    85  
     93    
     94f = 'local_config.py' 
     95if os.path.isfile(f): 
     96    data_files.append(('.', [f]))   
     97f = 'custom_config.py' 
     98if os.path.isfile(f): 
     99    data_files.append(('.', [f]))     
    86100# Copying the images directory to the distribution directory. 
    87 for f in findall('images'): 
     101for f in findall(images_dir): 
    88102    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])) 
    90104 
    91105# Copying the sample data user data 
    92 for f in findall('test'): 
     106for f in findall(test_dir): 
    93107    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])) 
    95109         
    96110# Copying the sample data user data 
    97 for f in findall('plugins'): 
     111for f in findall(plugins_dir): 
    98112    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]))   
    101114# 
    102115# packages 
Note: See TracChangeset for help on using the changeset viewer.