Changeset 9f441a9 in sasview for build_tools
- Timestamp:
- May 11, 2016 6:18:18 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:
- a9946e9
- Parents:
- c5d1c37
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/jenkins_win_build.bat
r261e075 r9f441a9 1 2 set PYTHON=C:\Python27\python 1 set PYTHON=c:\python27\python 3 2 set EASY_INSTALL=c:\python27\scripts\easy_install.exe 4 set NEXUSDIR="C:\Program Files (x86)\NeXus Data Format\"5 set P ATH=C:\Python27;C:\Python27\Scripts;C:\mingw\bin;%PATH%6 set PYLINT=c:\python27\scripts\pylint3 set PATH=c:\python27;c:\mingw\bin;%PATH% 4 set PYLINT= C:\Python27\Scripts\pylint 5 set INNO="C:\Program Files (x86)\Inno Setup 5\ISCC.exe" 7 6 8 7 9 cd %WORKSPACE%\sasview 10 %PYTHON% check_packages.py 8 set PYTHONPATH=%PYTHONPATH%;%WORKSPACE%\sasview\utils 9 set PYTHONPATH=%PYTHONPATH%;%WORKSPACE%\sasview\sasview-install 10 11 echo %PYTHONPATH% 12 echo %WORKSPACE% 11 13 12 14 13 cd %WORKSPACE%\sasview 14 python setup.py build -cmingw32 15 :: MAKE DIR FOR EGGS ################################################## 16 cd %WORKSPACE% 17 cd sasview 18 MD sasview-install 19 MD utils 15 20 16 21 17 cd %WORKSPACE%\sasview 18 python setup.py docs 22 :: SASMODELS build #################################################### 23 cd %WORKSPACE% 24 cd sasmodels 25 %PYTHON% setup.py build 19 26 20 27 21 cd %WORKSPACE%\sasview 22 python setup.py bdist_egg --skip-build 28 29 :: SASMODELS doc ###################################################### 30 cd doc 31 make html 23 32 24 33 34 :: SASMODELS build egg ################################################ 35 cd %WORKSPACE% 36 cd sasmodels 37 %PYTHON% setup.py bdist_egg 38 39 40 :: SASMODELS install egg ############################################## 41 cd %WORKSPACE% 42 cd sasmodels 43 cd dist 44 echo F | xcopy sasmodels-*.egg sasmodels.egg /Y 45 %EASY_INSTALL% -d %WORKSPACE%\sasview\utils sasmodels.egg 46 47 48 :: NOW BUILD SASVIEW 49 50 :: SASVIEW build egg ################################################ 51 :: Remember to modify C:\Python27\Lib\distutils\distutils.cfg to you compiler 52 cd %WORKSPACE% 53 cd sasview 54 %PYTHON% setup.py build docs bdist_egg 55 56 57 :: SASVIEW utest ###################################################### 25 58 cd %WORKSPACE%\sasview\test 26 59 %PYTHON% utest_sasview.py 27 60 28 61 29 cd %WORKSPACE%\sasview 30 mkdir sasview-install 31 set PYTHONPATH=%WORKSPACE%\sasview\sasview-install;%PYTHONPATH% 62 :: SASVIEW INSTALL EGG ################################################ 63 cd %WORKSPACE% 64 cd sasview 65 cd dist 66 echo F | xcopy sasview-*.egg sasview.egg /Y 67 %EASY_INSTALL% -d %WORKSPACE%\sasview\sasview-install sasview.egg 32 68 33 69 34 cd %WORKSPACE%\sasview 35 cd dist 36 %EASY_INSTALL% -d ..\sasview-install sasview-3.1.2-py2.7-win32.egg 37 38 39 cd %WORKSPACE%\sasview\sasview 40 python setup_exe.py py2exe 41 python installer_generator.py 42 "C:\Program Files (x86)\Inno Setup 5\ISCC.exe" installer.iss 43 44 70 :: SASVIEW INSTALLER ################################################## 71 cd %WORKSPACE% 72 cd sasview 73 cd sasview 74 %PYTHON% setup_exe.py py2exe 75 %PYTHON% installer_generator.py 76 %INNO% installer.iss 45 77 cd Output 46 78 xcopy setupSasView.exe %WORKSPACE%\sasview\dist 47 79 80 81 :: SASVIEW PYLINT ##################################################### 48 82 cd %WORKSPACE%\sasview 49 %PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview *.egg/sas sasview > test/sasview.txt83 %PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview.egg/sas sasview > test/sasview.txt 50 84 51 85 52 cd %WORKSPACE% 86 :: GO BACK ############################################################ 87 cd %WORKSPACE%
Note: See TracChangeset
for help on using the changeset viewer.