Changes in / [1d5f5c2:3371d81] in sasview
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/jenkins_osx_build.sh
r259aaa0 r5881b17 1 1 export PATH=$PATH:/usr/local/bin/ 2 3 2 4 3 PYTHON=${PYTHON:-`which python`} … … 67 66 68 67 # TEST 69 cd $WORKSPACE 70 cd sasview 71 cd test 72 $PYTHON utest_sasview.py 73 68 #cd $WORKSPACE 69 #cd sasview 70 #cd test 71 #$PYTHON utest_sasview.py 74 72 75 73 # PYLINT … … 78 76 $PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt 79 77 80 81 78 # BUILD APP 82 79 cd $WORKSPACE 83 80 cd sasview/sasview 84 pythonsetup_mac.py py2app81 $PYTHON setup_mac.py py2app 85 82 -
sasview/setup_mac.py
r628acad r5881b17 20 20 import sys 21 21 import platform 22 #Extending recursion limit 23 sys.setrecursionlimit(10000) 22 24 23 25 from distutils.util import get_platform … … 26 28 build_path = os.path.join(root, 'build','lib.'+platform) 27 29 sys.path.insert(0, build_path) 28 30 print "BUILDING PATH INSIDE", build_path 29 31 ICON = local_config.SetupIconFile_mac 30 32 EXTENSIONS_LIST = [] … … 67 69 # See if the documentation has been built, and if so include it. 68 70 doc_path = os.path.join(build_path, "doc") 71 print doc_path 69 72 if os.path.exists(doc_path): 70 73 for dirpath, dirnames, filenames in os.walk(doc_path): -
setup.py
re791cca re791cca 24 24 # except when there is no such file 25 25 # Todo : make this list generic 26 # 26 #plugin_model_list = ['polynominal5.py', 'sph_bessel_jn.py', 27 27 # 'sum_Ap1_1_Ap2.py', 'sum_p1_p2.py', 28 28 # 'testmodel_2.py', 'testmodel.py', … … 45 45 if os.path.isfile(f_path): 46 46 os.remove(f_path) 47 # 48 # 47 #f_path = os.path.join(sas_dir, 'plugin_models') 48 #if os.path.isdir(f_path): 49 49 # for f in os.listdir(f_path): 50 50 # if f in plugin_model_list: … … 276 276 append_file(file_sources, gen_dir) 277 277 278 #Wojtek's hacky way to add doc files while bundling egg 279 #def add_doc_files(directory): 280 # paths = [] 281 # for (path, directories, filenames) in os.walk(directory): 282 # for filename in filenames: 283 # paths.append(os.path.join(path, filename)) 284 # return paths 285 286 #doc_files = add_doc_files('doc') 287 278 288 # SasView 279 289 package_dir["sas.sasview"] = "sasview" 280 package_data['sas.sasview'] = ['images/*', 290 package_data['sas.sasview'] = ['images/*', 281 291 'media/*', 282 292 'test/*.txt',
Note: See TracChangeset
for help on using the changeset viewer.