source: sasview/build_tools/jenkins_win_build.bat @ 5876f7e

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 5876f7e was 261e075, checked in by trnielsen, 9 years ago

Update new windows build script

  • Property mode set to 100644
File size: 1.1 KB
Line 
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%
6set PYLINT=c:\python27\scripts\pylint
7
8
9cd %WORKSPACE%\sasview
10%PYTHON% check_packages.py
11
12
13cd %WORKSPACE%\sasview
14python setup.py build -cmingw32
15
16
17cd %WORKSPACE%\sasview
18python setup.py docs
19
20
21cd %WORKSPACE%\sasview
22python setup.py bdist_egg --skip-build
23
24
25cd %WORKSPACE%\sasview\test
26%PYTHON% utest_sasview.py
27
28
29cd %WORKSPACE%\sasview
30mkdir sasview-install
31set PYTHONPATH=%WORKSPACE%\sasview\sasview-install;%PYTHONPATH%
32
33
34cd %WORKSPACE%\sasview
35cd dist
36%EASY_INSTALL% -d ..\sasview-install sasview-3.1.2-py2.7-win32.egg
37
38
39cd %WORKSPACE%\sasview\sasview
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
46xcopy setupSasView.exe %WORKSPACE%\sasview\dist
47
48cd %WORKSPACE%\sasview
49%PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview > test/sasview.txt
50
51
52cd  %WORKSPACE%
Note: See TracBrowser for help on using the repository browser.