Changeset 3a39c2e in sasview for build_tools
- Timestamp:
- Feb 13, 2015 3:53:03 AM (10 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:
- 8c9ffde
- Parents:
- 79492222
- Location:
- build_tools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/get_version.py
r5709051 r3a39c2e 15 15 return __revision__ 16 16 17 # Get the version number from the sa nsview module17 # Get the version number from the sasview module 18 18 # Check to see if we are dealing with a release 19 19 try: 20 import sa ns.sansview21 __version__ = sa ns.sansview.__version__22 __revision__ = sa ns.sansview.__build__20 import sas.sasview 21 __version__ = sas.sasview.__version__ 22 __revision__ = sas.sasview.__build__ 23 23 except: 24 print "Could not load sa nsview module"24 print "Could not load sasview module" 25 25 26 26 # Get actual revision number if possible -
build_tools/jenkins_linux_pylint.sh
r9939b16 r3a39c2e 14 14 rm -f test/*.txt 15 15 16 $PYLINT --rcfile "$WORKSPACE/build_tools/pylint.rc" -f parseable sasview-install/sasview.egg/sa ns sansview > test/sansview.txt || exit 016 $PYLINT --rcfile "$WORKSPACE/build_tools/pylint.rc" -f parseable sasview-install/sasview.egg/sas sasview > test/sasview.txt || exit 0 -
build_tools/jenkins_linux_test.sh
r21b7a49 r3a39c2e 12 12 export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview-install:$WORKSPACE/utils 13 13 14 $PYTHON utest_sa nsview.py14 $PYTHON utest_sasview.py -
build_tools/jenkins_rhel6_build.sh
rb44da61 r3a39c2e 54 54 # Run tests 55 55 cd $WORKSPACE/test 56 python utest_sa nsview.py56 python utest_sasview.py 57 57 58 58 … … 66 66 cd ${WORKSPACE}/build_tools/rpm 67 67 python create_rpm_spec.py ${SVN_REVISION} 68 cp sa nsview.spec ${HOME}/rpmbuild/SPECS68 cp sasview.spec ${HOME}/rpmbuild/SPECS 69 69 70 70 cd ${HOME}/rpmbuild/SPECS 71 rpmbuild -bb sa nsview.spec --clean71 rpmbuild -bb sasview.spec --clean 72 72 cp ${HOME}/rpmbuild/RPMS/x86_64/* ${WORKSPACE}/dist 73 73 -
build_tools/jenkins_win32_build.bat
rb44da61 r3a39c2e 9 9 %PYTHON% check_packages.py 10 10 11 set PYTHONPATH=%WORKSPACE%\sa nsview-install;%PYTHONPATH%11 set PYTHONPATH=%WORKSPACE%\sasview-install;%PYTHONPATH% 12 12 13 RD /S /Q sa nsview-install14 MD sa nsview-install13 RD /S /Q sasview-install 14 MD sasview-install 15 15 RD /S /Q dist 16 16 RD /S /Q build 17 17 18 rem %PYTHON% -m pip install -t ../sa nsview-install --no-deps bumps=0.7.5.419 rem PYTHON% -m pip install -t ../sa nsview-install --no-deps periodictable=1.3.020 rem %PYTHON% -m pip install -t ../sa nsview-install --no-deps pyparsing=1.5.518 rem %PYTHON% -m pip install -t ../sasview-install --no-deps bumps=0.7.5.4 19 rem PYTHON% -m pip install -t ../sasview-install --no-deps periodictable=1.3.0 20 rem %PYTHON% -m pip install -t ../sasview-install --no-deps pyparsing=1.5.5 21 21 22 22 %PYTHON% setup.py build -cmingw32 23 23 %PYTHON% setup.py bdist_egg --skip-build 24 24 cd dist 25 %EASY_INSTALL% -d ..\sa nsview-install sasview*.egg25 %EASY_INSTALL% -d ..\sasview-install sasview*.egg 26 26 27 27 cd %WORKSPACE%\test 28 %PYTHON% utest_sa nsview.py28 %PYTHON% utest_sasview.py -
build_tools/rpm/create_rpm_spec.py
rf6f0c7b r3a39c2e 29 29 return newline 30 30 31 input=open("sa nsview.spec.template",'r')32 output=open("sa nsview.spec",'w')31 input=open("sasview.spec.template",'r') 32 output=open("sasview.spec",'w') 33 33 34 34 buf = input.read()
Note: See TracChangeset
for help on using the changeset viewer.