Changes in / [aff7904:259aaa0] in sasview


Ignore:
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • build_tools/jenkins_osx_build.sh

    r5881b17 r259aaa0  
    11export PATH=$PATH:/usr/local/bin/ 
     2 
    23 
    34PYTHON=${PYTHON:-`which python`} 
     
    6667 
    6768# TEST 
    68 #cd $WORKSPACE 
    69 #cd sasview 
    70 #cd test 
    71 #$PYTHON utest_sasview.py 
     69cd $WORKSPACE 
     70cd sasview 
     71cd test 
     72$PYTHON utest_sasview.py 
     73 
    7274 
    7375# PYLINT 
     
    7678$PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee  test/sasview.txt 
    7779 
     80 
    7881# BUILD APP 
    7982cd $WORKSPACE 
    8083cd sasview/sasview 
    81 $PYTHON setup_mac.py py2app 
     84python setup_mac.py py2app 
    8285 
  • sasview/setup_mac.py

    r5881b17 r628acad  
    2020import sys 
    2121import platform 
    22 #Extending recursion limit 
    23 sys.setrecursionlimit(10000) 
    2422 
    2523from distutils.util import get_platform 
     
    2826build_path = os.path.join(root, 'build','lib.'+platform) 
    2927sys.path.insert(0, build_path) 
    30 print "BUILDING PATH INSIDE", build_path 
     28 
    3129ICON = local_config.SetupIconFile_mac 
    3230EXTENSIONS_LIST = [] 
     
    6967# See if the documentation has been built, and if so include it. 
    7068doc_path = os.path.join(build_path, "doc") 
    71 print doc_path 
    7269if os.path.exists(doc_path): 
    7370    for dirpath, dirnames, filenames in os.walk(doc_path): 
  • setup.py

    r5881b17 ra7c4ad2  
    3838# except when there is no such file 
    3939# Todo : make this list generic 
    40 #plugin_model_list = ['polynominal5.py', 'sph_bessel_jn.py', 
     40# plugin_model_list = ['polynominal5.py', 'sph_bessel_jn.py', 
    4141#                      'sum_Ap1_1_Ap2.py', 'sum_p1_p2.py', 
    4242#                      'testmodel_2.py', 'testmodel.py', 
     
    5959    if os.path.isfile(f_path): 
    6060        os.remove(f_path) 
    61     #f_path = os.path.join(sas_dir, 'plugin_models') 
    62     #if os.path.isdir(f_path): 
     61    # f_path = os.path.join(sas_dir, 'plugin_models') 
     62    # if os.path.isdir(f_path): 
    6363    #     for f in os.listdir(f_path): 
    6464    #         if f in plugin_model_list: 
     
    297297append_file(file_sources, gen_dir) 
    298298 
    299 #Wojtek's hacky way to add doc files while bundling egg 
    300 #def add_doc_files(directory): 
    301 #    paths = [] 
    302 #    for (path, directories, filenames) in os.walk(directory): 
    303 #        for filename in filenames: 
    304 #            paths.append(os.path.join(path, filename)) 
    305 #    return paths 
    306  
    307 #doc_files = add_doc_files('doc') 
    308  
    309299# SasView 
    310300package_dir["sas.sasview"] = "sasview" 
    311 package_data['sas.sasview'] = ['images/*', 
     301package_data['sas.sasview'] = ['images/*',  
    312302                               'media/*', 
    313303                               'test/*.txt', 
     
    335325else: 
    336326    required.extend(['pil']) 
    337  
     327    
    338328# Set up SasView     
    339329setup( 
Note: See TracChangeset for help on using the changeset viewer.