source: sasview/build_tools/jenkins_win_build.bat @ 53b9fc8

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 53b9fc8 was b4994b7, checked in by piotr, 9 years ago

Added tinycc to the windows build

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[9f441a9]1set PYTHON=c:\python27\python
[c6ea8e9]2set EASY_INSTALL=c:\python27\scripts\easy_install.exe
[9f441a9]3set PATH=c:\python27;c:\mingw\bin;%PATH%
4set PYLINT= C:\Python27\Scripts\pylint
5set INNO="C:\Program Files (x86)\Inno Setup 5\ISCC.exe"
[c6ea8e9]6
[9f441a9]7set PYTHONPATH=%PYTHONPATH%;%WORKSPACE%\sasview\utils
8set PYTHONPATH=%PYTHONPATH%;%WORKSPACE%\sasview\sasview-install
[c6ea8e9]9
[9f441a9]10echo %PYTHONPATH%
11echo %WORKSPACE%
[c6ea8e9]12
13
[9f441a9]14:: MAKE DIR FOR EGGS ##################################################
15cd %WORKSPACE%
16cd sasview
17MD sasview-install
18MD utils
[c6ea8e9]19
20
[9f441a9]21:: SASMODELS build ####################################################
22cd %WORKSPACE%
23cd sasmodels
24%PYTHON% setup.py build
[c6ea8e9]25
26
27
[9f441a9]28:: SASMODELS doc ######################################################
29cd doc
30make html
[c6ea8e9]31
32
[9f441a9]33:: SASMODELS build egg ################################################
34cd %WORKSPACE%
35cd sasmodels
36%PYTHON% setup.py bdist_egg
[c6ea8e9]37
38
[9f441a9]39:: SASMODELS install egg ##############################################
40cd %WORKSPACE%
41cd sasmodels
[c6ea8e9]42cd dist
[9f441a9]43echo F | xcopy sasmodels-*.egg sasmodels.egg /Y
44%EASY_INSTALL% -d %WORKSPACE%\sasview\utils sasmodels.egg
[c6ea8e9]45
46
[9f441a9]47:: NOW BUILD SASVIEW
[c6ea8e9]48
[9f441a9]49:: SASVIEW build egg ################################################
50:: Remember to modify C:\Python27\Lib\distutils\distutils.cfg to you compiler
51cd %WORKSPACE%
52cd sasview
53%PYTHON% setup.py build docs bdist_egg
[c6ea8e9]54
[9f441a9]55
56:: SASVIEW utest ######################################################
57cd %WORKSPACE%\sasview\test
58%PYTHON% utest_sasview.py
59
60
61:: SASVIEW INSTALL EGG ################################################
62cd %WORKSPACE%
63cd sasview
64cd dist
65echo F | xcopy sasview-*.egg sasview.egg /Y
66%EASY_INSTALL% -d %WORKSPACE%\sasview\sasview-install sasview.egg
67
68
[b4994b7]69:: TINYCC build ####################################################
70cd %WORKSPACE%
71cd tinycc
72%PYTHON% setup.py build
73xcopy /S build\lib\* %WORKSPACE%\sasview\utils\
74
[9f441a9]75:: SASVIEW INSTALLER ##################################################
76cd %WORKSPACE%
77cd sasview
78cd sasview
79%PYTHON% setup_exe.py py2exe
80%PYTHON% installer_generator.py
81%INNO% installer.iss
[c6ea8e9]82cd Output
[dbb2e9d]83xcopy setupSasView.exe %WORKSPACE%\sasview\dist
[c6ea8e9]84
[9f441a9]85:: SASVIEW PYLINT #####################################################
[dbb2e9d]86cd %WORKSPACE%\sasview
[9f441a9]87%PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview.egg/sas sasview > test/sasview.txt
[f0d4fcc]88
[c6ea8e9]89
[9f441a9]90:: GO BACK ############################################################
91cd %WORKSPACE%
Note: See TracBrowser for help on using the repository browser.