source: sasview/build_tools/jenkins_qt5_win.bat @ d1b525b

ESS_GUIESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_openclESS_GUI_sync_sascalc
Last change on this file since d1b525b was d1b525b, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 3 years ago

Force INNO into 64 bit mode for Win7 builds. SASVIEW-948

  • Property mode set to 100644
File size: 1.9 KB
Line 
1:: Find ENV NAME
2cd %WORKSPACE%
3cd sasview
4cd build_tools
5findstr "name:" conda_qt5_win.yml > condaenv_name.txt
6set /p condaname=<condaenv_name.txt
7
8:: ACTIVATE ENV
9call activate %condaname:~6%
10
11
12:: BUILD SETUP
13set PYTHON=python.exe
14set EASY_INSTALL=easy_install.exe
15set PYLINT= pylint.exe
16set PYINSTALLER=pyinstaller.exe
17set INNO=C:\"Program Files (x86)"\"Inno Setup 5"\ISCC.exe
18set GIT_SED=C:\"Program Files"\Git\bin\sed.exe
19set SAS_COMPILER=tinycc
20
21
22:: REMOVE INSTALLATION ################################################
23pip uninstall -y sasview
24pip uninstall -y sasmodels
25pip uninstall -y tinycc
26
27:: TINYCC build ####################################################
28cd %WORKSPACE%
29cd tinycc
30%PYTHON% setup.py build install
31
32:: SASMODELS build ####################################################
33cd %WORKSPACE%
34cd sasmodels
35%PYTHON% setup.py build
36
37:: SASMODELS doc ######################################################
38cd doc
39make html
40
41:: SASMODELS install ################################################
42cd %WORKSPACE%
43cd sasmodels
44%PYTHON% setup.py install
45
46
47:: NOW BUILD SASVIEW
48
49:: SASVIEW check dep ################################################
50cd %WORKSPACE%
51cd sasview
52%PYTHON% check_packages.py
53
54
55:: SASVIEW build install ################################################
56cd %WORKSPACE%
57cd sasview
58
59:: MAKE GUI FROM UI FILES
60%PYTHON% src\sas\qtgui\convertUI.py
61%PYTHON% setup.py build docs install
62
63
64:: :: SASVIEW utest ######################################################
65:: NOT YET IMPLEMENTED FOR THE NEW Qt5 SasView 5.0
66:: cd %WORKSPACE%\sasview\test
67:: %PYTHON% utest_sasview.py
68
69
70:: SASVIEW INSTALLER ##################################################
71cd %WORKSPACE%
72cd sasview
73cd installers
74
75:: USING PYINSTALLER
76%PYINSTALLER% sasview_qt5.spec
77
78::# :: USING PY2EXE
79::# %PYTHON% setup_exe.py py2exe
80
81
82:: READY FOR INNO
83%PYTHON% installer_generator64.py
84%INNO% installer.iss
85cd Output
86xcopy setupSasView.exe %WORKSPACE%\sasview\dist
Note: See TracBrowser for help on using the repository browser.