Changeset 5881b17 in sasview
- Timestamp:
- Apr 28, 2016 5:29:38 AM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- aff7904
- Parents:
- 70be725
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/jenkins_osx_build.sh
r70be725 r5881b17 1 1 export PATH=$PATH:/usr/local/bin/ 2 3 2 4 3 PYTHON=${PYTHON:-`which python`} … … 57 56 $PYTHON setup.py clean 58 57 $PYTHON setup.py build 59 $PYTHON setup.py docs58 #$PYTHON setup.py docs 60 59 61 60 … … 63 62 cd $WORKSPACE 64 63 cd sasview 65 python setup.pybdist_egg64 $PYTHON setup.py docs bdist_egg 66 65 cd dist 67 66 $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg 68 67 69 68 # TEST 70 cd $WORKSPACE71 cd sasview72 cd test73 $PYTHON utest_sasview.py69 #cd $WORKSPACE 70 #cd sasview 71 #cd test 72 #$PYTHON utest_sasview.py 74 73 75 74 ## PYLINT 76 cd $WORKSPACE77 cd sasview78 $PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt75 #cd $WORKSPACE 76 #cd sasview 77 #$PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt 79 78 80 79 81 80 # BUILD APP 82 cd $WORKSPACE83 cd sasview/sasview84 pythonsetup_mac.py py2app81 #cd $WORKSPACE 82 #cd sasview/sasview 83 #$PYTHON setup_mac.py py2app 85 84 -
sasview/setup_mac.py
r70be725 r5881b17 26 26 root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 27 27 platform = '%s-%s'%(get_platform(),sys.version[:3]) 28 #build_path = os.path.join(root, 'build','lib.'+platform) 29 build_path = os.path.join(root) 28 build_path = os.path.join(root, 'build','lib.'+platform) 30 29 sys.path.insert(0, build_path) 31 30 print "BUILDING PATH INSIDE", build_path 32 31 ICON = local_config.SetupIconFile_mac 33 32 EXTENSIONS_LIST = [] … … 70 69 71 70 # See if the documentation has been built, and if so include it. 72 doc_path = os.path.join(build_path, "doc s")71 doc_path = os.path.join(build_path, "doc") 73 72 print doc_path 74 73 if os.path.exists(doc_path): 75 74 for dirpath, dirnames, filenames in os.walk(doc_path): 76 75 for filename in filenames: 77 sub_dir = os.path.join("doc s", os.path.relpath(dirpath, doc_path))76 sub_dir = os.path.join("doc", os.path.relpath(dirpath, doc_path)) 78 77 DATA_FILES.append((sub_dir, [os.path.join(dirpath, filename)])) 79 78 else: -
setup.py
rc8843be 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: … … 296 296 append_file(file_sources, gen_dir) 297 297 298 #Wojtek's hacky way to add doc files while bundling egg 299 #def add_doc_files(directory): 300 # paths = [] 301 # for (path, directories, filenames) in os.walk(directory): 302 # for filename in filenames: 303 # paths.append(os.path.join(path, filename)) 304 # return paths 305 306 #doc_files = add_doc_files('doc') 307 298 308 # SasView 299 309 package_dir["sas.sasview"] = "sasview" 300 package_data['sas.sasview'] = ['images/*', 310 package_data['sas.sasview'] = ['images/*', 301 311 'media/*', 302 312 'test/*.txt', … … 324 334 else: 325 335 required.extend(['pil']) 326 336 327 337 # Set up SasView 328 338 setup(
Note: See TracChangeset
for help on using the changeset viewer.