source: sasview/build_tools/jenkins_win_build.bat @ c6ea8e9

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 c6ea8e9 was c6ea8e9, checked in by trnielsen, 4 years ago

Add new windows build script

  • Property mode set to 100644
File size: 840 bytes
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%
6
7
8
9cd %WORKSPACE%
10%PYTHON% check_packages.py
11
12
13cd %WORKSPACE%
14python setup.py build -cmingw32
15
16
17cd %WORKSPACE%
18python setup.py docs
19
20
21cd %WORKSPACE%
22python setup.py bdist_egg --skip-build
23
24
25cd %WORKSPACE%\test
26%PYTHON% utest_sasview.py
27
28
29cd %WORKSPACE%
30mkdir sasview-install
31set PYTHONPATH=%WORKSPACE%\sasview-install;%PYTHONPATH%
32
33
34cd %WORKSPACE%
35cd dist
36%EASY_INSTALL% -d ..\sasview-install sasview-3.1.2-py2.7-win32.egg
37
38
39cd %WORKSPACE%\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%\dist
47
48
49cd  %WORKSPACE%
Note: See TracBrowser for help on using the repository browser.