source: sasview/build_tools/jenkins_win32_py27_build.bat @ 3477478

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 3477478 was fe8c46a, checked in by Doucet, Mathieu <doucetm@…>, 10 years ago

Add installer build

  • Property mode set to 100644
File size: 1.1 KB
Line 
1cd %WORKSPACE%
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:\mingw\bin;%PATH%
6
7REM echo %GIT_REVISION%> git_revision.txt
8
9%PYTHON% check_packages.py
10
11set PYTHONPATH=%WORKSPACE%\sansview-install;%PYTHONPATH%
12
13RD /S /Q sansview-install
14MD sansview-install
15RD /S /Q dist
16RD /S /Q build
17
18rem %PYTHON% -m pip install -t ../sansview-install --no-deps bumps=0.7.5.4
19rem PYTHON% -m pip install -t ../sansview-install --no-deps periodictable=1.3.0
20rem %PYTHON% -m pip install -t ../sansview-install --no-deps pyparsing=1.5.5
21
22%PYTHON% setup.py build -cmingw32
23
24cd %WORKSPACE%
25%PYTHON% setup.py docs
26
27cd %WORKSPACE%
28%PYTHON% setup.py bdist_egg --skip-build
29cd dist
30%EASY_INSTALL% -d ..\sansview-install sasview*.egg
31
32cd %WORKSPACE%\test
33%PYTHON% utest_sasview.py
34
35cd %WORKSPACE%\sasview
36python setup_exe.py py2exe
37python installer_generator.py
38"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" installer.iss
39
40cd Output
41xcopy setupSasView.exe %WORKSPACE%\dist
Note: See TracBrowser for help on using the repository browser.