Changes in / [aff7904:259aaa0] in sasview
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/jenkins_osx_build.sh
r5881b17 r259aaa0 1 1 export PATH=$PATH:/usr/local/bin/ 2 2 3 3 4 PYTHON=${PYTHON:-`which python`} … … 66 67 67 68 # TEST 68 #cd $WORKSPACE 69 #cd sasview 70 #cd test 71 #$PYTHON utest_sasview.py 69 cd $WORKSPACE 70 cd sasview 71 cd test 72 $PYTHON utest_sasview.py 73 72 74 73 75 # PYLINT … … 76 78 $PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt 77 79 80 78 81 # BUILD APP 79 82 cd $WORKSPACE 80 83 cd sasview/sasview 81 $PYTHONsetup_mac.py py2app84 python setup_mac.py py2app 82 85 -
sasview/setup_mac.py
r5881b17 r628acad 20 20 import sys 21 21 import platform 22 #Extending recursion limit23 sys.setrecursionlimit(10000)24 22 25 23 from distutils.util import get_platform … … 28 26 build_path = os.path.join(root, 'build','lib.'+platform) 29 27 sys.path.insert(0, build_path) 30 print "BUILDING PATH INSIDE", build_path 28 31 29 ICON = local_config.SetupIconFile_mac 32 30 EXTENSIONS_LIST = [] … … 69 67 # See if the documentation has been built, and if so include it. 70 68 doc_path = os.path.join(build_path, "doc") 71 print doc_path72 69 if os.path.exists(doc_path): 73 70 for dirpath, dirnames, filenames in os.walk(doc_path): -
setup.py
r5881b17 ra7c4ad2 38 38 # except when there is no such file 39 39 # 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', 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 # 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): 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 egg300 #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 paths306 307 #doc_files = add_doc_files('doc')308 309 299 # SasView 310 300 package_dir["sas.sasview"] = "sasview" 311 package_data['sas.sasview'] = ['images/*', 301 package_data['sas.sasview'] = ['images/*', 312 302 'media/*', 313 303 'test/*.txt', … … 335 325 else: 336 326 required.extend(['pil']) 337 327 338 328 # Set up SasView 339 329 setup(
Note: See TracChangeset
for help on using the changeset viewer.