Changeset b24bf4e in sasview
- Timestamp:
- Oct 24, 2008 11:42:10 AM (16 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:
- d171299
- Parents:
- e43c012
- Location:
- prview
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/release_notes.txt
raab8ad7 rb24bf4e 6 6 Package name: prview 7 7 8 1- Version 0.2.x 9 - Release date: ? 10 - Added functionality for .ABS IGOR reduced 1D files. 8 1- 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. 11 12 - Fixed problem with loading additional data after the P(r) graph's scale has been changed. 12 13 - 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 17 15 - Mac compatibility 18 16 … … 43 41 44 42 2.2- Installing: 45 - Get the code from svn://danse.us/sans/releases/prview-0.2. 243 - Get the code from svn://danse.us/sans/releases/prview-0.2.3 46 44 - 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 50 50 svn://danse.us/sans/releases/pr_inversion-0.2.1 51 51 - The following modules are required: … … 54 54 * scipy 55 55 * wxpython 56 * PyXML (for cansas reader) 56 57 57 58 3- Known Issues -
prview/setup_exe.py
ra4bd2ac rb24bf4e 2 2 3 3 # 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. 5 7 # 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. 6 15 7 16 import os, sys 8 9 17 from distutils.core import setup 10 11 18 from distutils.filelist import findall 12 13 19 import matplotlib 14 15 20 import py2exe 16 21 … … 46 51 self.__dict__.update(kw) 47 52 # for the versioninfo resources 48 self.version = "0. 1"53 self.version = "0.2" 49 54 self.company_name = "U Tennessee" 50 55 self.copyright = "copyright 2008" … … 57 62 matplotlibdatadir = matplotlib.get_data_path() 58 63 matplotlibdata = findall(matplotlibdatadir) 59 matplotlibdata_files = []64 data_files = [] 60 65 61 66 for f in matplotlibdata: 62 dirname = os.path.join('m atplotlibdata', 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])) 64 69 70 # Copying the images directory to the distribution directory. 71 for 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 65 75 # 66 76 # packages 67 77 # 68 packages = [ 69 'matplotlib', 'pytz' 70 ] 71 78 packages = ['matplotlib', 'pytz'] 72 79 includes = [] 73 excludes = [ 'OpenGL']80 excludes = [] 74 81 75 82 dll_excludes = [ … … 79 86 ] 80 87 81 ## This is the client for PARK: run on wx82 88 target_wx_client = Target( 83 89 description = 'P(r) inversion viewer', 84 90 script = 'sansview.py', 85 #other_resources = [(RT_MANIFEST, 1, manifest_template % dict(prog="AppJob"))],86 91 icon_resources = [(1, "images/ball.ico")], 87 92 other_resources = [(24,1,manifest)], … … 106 111 }, 107 112 }, 108 data_files= matplotlibdata_files113 data_files=data_files 109 114 110 # Do something like this to add images to the distribution111 #data_files=[ ("prog",["kategorien.xml",])]112 115 ) 113 116
Note: See TracChangeset
for help on using the changeset viewer.