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