Changeset b24bf4e in sasview


Ignore:
Timestamp:
Oct 24, 2008 11:42:10 AM (16 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
d171299
Parents:
e43c012
Message:

Notify user when multi-entry data files are loaded

Location:
prview
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • prview/release_notes.txt

    raab8ad7 rb24bf4e  
    66Package name: prview 
    77 
    8 1- Version 0.2.x 
    9         - Release date: ? 
    10         - Added functionality for .ABS IGOR reduced 1D files. 
     81- Version 0.2.3 
     9        - Release date: 10/24/2008 
     10        - Protected against loading files with multiple data entries (like cansas XML). 
     11        - Added functionality to load various data formats. 
    1112        - Fixed problem with loading additional data after the P(r) graph's scale has been changed. 
    1213        - Fixed problem of silent failure upon loading a file with a point at Q=0. 
    13         - Added use of SANS DataLoader 
    14     
    15    Version 0.2.3 
    16     - Release date: 7/9/2008 
     14        - Added use of SANS DataLoader    
    1715    - Mac compatibility  
    1816     
     
    4341 
    4442        2.2- Installing: 
    45                 - Get the code from svn://danse.us/sans/releases/prview-0.2.2 
     43                - Get the code from svn://danse.us/sans/releases/prview-0.2.3 
    4644                - This application is also dependent on the following DANSE code: 
    47                         svn://danse.us/sans/releases/guitools-0.2.3 
    48                         svn://danse.us/sans/treleases/guicomm-0.1.0 
    49                         svn://danse.us/sans/releases/guiframe-0.1.2 
     45                        svn://danse.us/common/releases/plottools-0.1.1-dev 
     46                        svn://danse.us/common/releases/util-0.1 
     47                        svn://danse.us/sans/releases/DataLoader-0.2.1 
     48                        svn://danse.us/sans/releases/guicomm-0.1.0 
     49                        svn://danse.us/sans/releases/guiframe-0.1.3-dev 
    5050                        svn://danse.us/sans/releases/pr_inversion-0.2.1 
    5151                - The following modules are required: 
     
    5454                        * scipy 
    5555                        * wxpython 
     56                        * PyXML (for cansas reader) 
    5657 
    57583- Known Issues 
  • prview/setup_exe.py

    ra4bd2ac rb24bf4e  
    22 
    33# 
    4 # The setup to create a single exe file. 
     4# The setup to create a Windows executable. 
     5# Inno Setup can then be used with the installer.iss file  
     6# in the top source directory to create an installer.  
    57# 
     8# Setuptools clashes with py2exe 0.6.8 (and probably later too). 
     9# For that reason, most of the code needs to have direct imports 
     10# that are not going through pkg_resources.  
     11# 
     12# Attention should be paid to dynamic imports. Data files can 
     13# be added to the distribution directory for that purpose. 
     14# See for example the 'images' directory below. 
    615 
    716import os, sys 
    8  
    917from distutils.core import setup 
    10  
    1118from distutils.filelist import findall 
    12  
    1319import matplotlib 
    14  
    1520import py2exe 
    1621 
     
    4651        self.__dict__.update(kw) 
    4752        # for the versioninfo resources 
    48         self.version = "0.1" 
     53        self.version = "0.2" 
    4954        self.company_name = "U Tennessee" 
    5055        self.copyright = "copyright 2008" 
     
    5762matplotlibdatadir = matplotlib.get_data_path() 
    5863matplotlibdata = findall(matplotlibdatadir) 
    59 matplotlibdata_files = [] 
     64data_files = [] 
    6065 
    6166for f in matplotlibdata: 
    62     dirname = os.path.join('matplotlibdata', f[len(matplotlibdatadir)+1:]) 
    63     matplotlibdata_files.append((os.path.split(dirname)[0], [f])) 
     67    dirname = os.path.join('mpl-data', f[len(matplotlibdatadir)+1:]) 
     68    data_files.append((os.path.split(dirname)[0], [f])) 
    6469 
     70# Copying the images directory to the distribution directory. 
     71for f in findall('images'): 
     72    if os.path.split(f)[0].count('.svn')==0: 
     73        data_files.append((os.path.split(f)[0], [f])) 
     74     
    6575# 
    6676# packages 
    6777# 
    68 packages = [ 
    69     'matplotlib', 'pytz' 
    70     ] 
    71  
     78packages = ['matplotlib', 'pytz'] 
    7279includes = [] 
    73 excludes = ['OpenGL']  
     80excludes = []  
    7481 
    7582dll_excludes = [ 
     
    7986    ] 
    8087 
    81 ## This is the client for PARK: run on wx 
    8288target_wx_client = Target( 
    8389    description = 'P(r) inversion viewer', 
    8490    script = 'sansview.py', 
    85     #other_resources = [(RT_MANIFEST, 1, manifest_template % dict(prog="AppJob"))], 
    8691    icon_resources = [(1, "images/ball.ico")], 
    8792    other_resources = [(24,1,manifest)], 
     
    106111            }, 
    107112    }, 
    108     data_files=matplotlibdata_files 
     113    data_files=data_files 
    109114     
    110     # Do something like this to add images to the distribution 
    111     #data_files=[ ("prog",["kategorien.xml",])] 
    112115) 
    113116 
Note: See TracChangeset for help on using the changeset viewer.