source: sasview/build_tools/jenkins_win_build.bat @ fd82d9b

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since fd82d9b was 261e075, checked in by trnielsen, 9 years ago

Update new windows build script

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[c6ea8e9]1
2set PYTHON=C:\Python27\python
3set EASY_INSTALL=c:\python27\scripts\easy_install.exe
4set NEXUSDIR="C:\Program Files (x86)\NeXus Data Format\"
5set PATH=C:\Python27;C:\Python27\Scripts;C:\mingw\bin;%PATH%
[261e075]6set PYLINT=c:\python27\scripts\pylint
[c6ea8e9]7
8
[dbb2e9d]9cd %WORKSPACE%\sasview
[c6ea8e9]10%PYTHON% check_packages.py
11
12
[dbb2e9d]13cd %WORKSPACE%\sasview
[c6ea8e9]14python setup.py build -cmingw32
15
16
[dbb2e9d]17cd %WORKSPACE%\sasview
[c6ea8e9]18python setup.py docs
19
20
[dbb2e9d]21cd %WORKSPACE%\sasview
[c6ea8e9]22python setup.py bdist_egg --skip-build
23
24
[dbb2e9d]25cd %WORKSPACE%\sasview\test
[c6ea8e9]26%PYTHON% utest_sasview.py
27
28
[dbb2e9d]29cd %WORKSPACE%\sasview
[c6ea8e9]30mkdir sasview-install
[dbb2e9d]31set PYTHONPATH=%WORKSPACE%\sasview\sasview-install;%PYTHONPATH%
[c6ea8e9]32
33
[dbb2e9d]34cd %WORKSPACE%\sasview
[c6ea8e9]35cd dist
36%EASY_INSTALL% -d ..\sasview-install sasview-3.1.2-py2.7-win32.egg
37
38
[dbb2e9d]39cd %WORKSPACE%\sasview\sasview
[c6ea8e9]40python setup_exe.py py2exe
41python installer_generator.py
42"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" installer.iss
43
44
45cd Output
[dbb2e9d]46xcopy setupSasView.exe %WORKSPACE%\sasview\dist
[c6ea8e9]47
[dbb2e9d]48cd %WORKSPACE%\sasview
49%PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview > test/sasview.txt
[f0d4fcc]50
[c6ea8e9]51
52cd  %WORKSPACE%
Note: See TracBrowser for help on using the repository browser.