Changeset 2f5d888 in sasview for calculatorview/scripts
- Timestamp:
- Aug 13, 2011 10:59:55 AM (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:
- 84cf4e7
- Parents:
- 8abbb12
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/scripts/setup_exe.py
r062134e r2f5d888 15 15 16 16 import os, sys 17 17 if len(sys.argv) == 1: 18 sys.argv.append('py2exe') 18 19 # When using the SansView build script, we need to be able to pass 19 20 # an extra path to be added to the python path. The extra arguments … … 91 92 92 93 # Copying the images directory to the distribution directory. 93 for f in findall('images'): 94 import sans.perspectives.calculator as cal 95 path = cal.get_data_path('images') 96 for f in findall(path): 94 97 if os.path.split(f)[0].count('.svn')==0: 95 data_files.append(( os.path.split(f)[0], [f]))98 data_files.append(('images', [f])) 96 99 import sans.guiframe as guiframe 97 100 data_files += guiframe.data_files() … … 106 109 107 110 # Copying the HTML help docs 108 for f in findall('media'): 111 path = cal.get_data_path('media') 112 for f in findall(path): 109 113 if os.path.split(f)[0].count('.svn')==0: 110 114 data_files.append((os.path.split(f)[0], [f]))
Note: See TracChangeset
for help on using the changeset viewer.