Changeset 4551598 in sasview for sasview/setup_exe.py


Ignore:
Timestamp:
Apr 4, 2017 10:43:09 AM (7 years ago)
Author:
krzywon
Children:
73c672f
Parents:
f68d503
git-author:
Jeff Krzywon <krzywon@…> (04/04/17 10:43:09)
git-committer:
krzywon <krzywon@…> (04/04/17 10:43:09)
Message:

Modify setup_exe.py to integrate all test data folders into the windows build. see #918

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/setup_exe.py

    r8b645cc r4551598  
    179179test_1d_dir = os.path.join(path, "test\\1d_data") 
    180180test_2d_dir = os.path.join(path, "test\\2d_data") 
     181test_sesans_dir = os.path.join(path, "test\\sesans_data") 
     182test_convertible_dir = os.path.join(path, "test\\convertible_data") 
    181183test_save_dir = os.path.join(path, "test\\save_states") 
    182 test_upcoming_dir = os.path.join(path, "test\\upcoming_formats") 
     184test_coord_dir = os.path.join(path, "test\\coordinate_data") 
     185test_image_dir = os.path.join(path, "test\\image_data") 
     186test_other_dir = os.path.join(path, "test\\other_files") 
    183187 
    184188matplotlibdatadir = matplotlib.get_data_path() 
     
    293297 
    294298# Copying the sample data user data 
    295 for f in findall(test_upcoming_dir): 
    296     if not ".svn" in f: 
    297         data_files.append(("test\\upcoming_formats", [f])) 
     299for f in findall(test_sesans_dir): 
     300    if not ".svn" in f: 
     301        data_files.append(("test\\sesans_data", [f])) 
     302 
     303# Copying the sample data user data 
     304for f in findall(test_convertible_dir): 
     305    if not ".svn" in f: 
     306        data_files.append(("test\\convertible_files", [f])) 
     307 
     308# Copying the sample data user data 
     309for f in findall(test_coord_dir): 
     310    if not ".svn" in f: 
     311        data_files.append(("test\\coordinate_data", [f])) 
     312 
     313# Copying the sample data user data 
     314for f in findall(test_image_dir): 
     315    if not ".svn" in f: 
     316        data_files.append(("test\\image_data", [f])) 
     317 
     318# Copying the sample data user data 
     319for f in findall(test_other_dir): 
     320    if not ".svn" in f: 
     321        data_files.append(("test\\other_files", [f])) 
    298322 
    299323# Copying opencl include files 
Note: See TracChangeset for help on using the changeset viewer.