Changes in / [259aaa0:aff7904] 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
ra7c4ad2 r5881b17 38 38 # except when there is no such file 39 39 # Todo : make this list generic 40 # 40 #plugin_model_list = ['polynominal5.py', 'sph_bessel_jn.py', 41 41 # 'sum_Ap1_1_Ap2.py', 'sum_p1_p2.py', 42 42 # 'testmodel_2.py', 'testmodel.py', … … 59 59 if os.path.isfile(f_path): 60 60 os.remove(f_path) 61 # 62 # 61 #f_path = os.path.join(sas_dir, 'plugin_models') 62 #if os.path.isdir(f_path): 63 63 # for f in os.listdir(f_path): 64 64 # if f in plugin_model_list: … … 297 297 append_file(file_sources, gen_dir) 298 298 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 299 309 # SasView 300 310 package_dir["sas.sasview"] = "sasview" 301 package_data['sas.sasview'] = ['images/*', 311 package_data['sas.sasview'] = ['images/*', 302 312 'media/*', 303 313 'test/*.txt', … … 325 335 else: 326 336 required.extend(['pil']) 327 337 328 338 # Set up SasView 329 339 setup(
Note: See TracChangeset
for help on using the changeset viewer.