Changeset 2f5d888 in sasview


Ignore:
Timestamp:
Aug 13, 2011 8:59:55 AM (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:
84cf4e7
Parents:
8abbb12
Message:

up to date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/scripts/setup_exe.py

    r062134e r2f5d888  
    1515 
    1616import os, sys 
    17  
     17if len(sys.argv) == 1: 
     18    sys.argv.append('py2exe') 
    1819# When using the SansView build script, we need to be able to pass 
    1920# an extra path to be added to the python path. The extra arguments 
     
    9192 
    9293# Copying the images directory to the distribution directory. 
    93 for f in findall('images'): 
     94import sans.perspectives.calculator as cal 
     95path = cal.get_data_path('images') 
     96for f in findall(path): 
    9497    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])) 
    9699import sans.guiframe as guiframe 
    97100data_files += guiframe.data_files() 
     
    106109 
    107110# Copying the HTML help docs 
    108 for f in findall('media'): 
     111path = cal.get_data_path('media') 
     112for f in findall(path): 
    109113    if os.path.split(f)[0].count('.svn')==0: 
    110114        data_files.append((os.path.split(f)[0], [f])) 
Note: See TracChangeset for help on using the changeset viewer.