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 4d562f2 was
261e075,
checked in by trnielsen, 9 years ago
|
Update new windows build script
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | |
---|
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:\Python27\Scripts;C:\mingw\bin;%PATH% |
---|
6 | set PYLINT=c:\python27\scripts\pylint |
---|
7 | |
---|
8 | |
---|
9 | cd %WORKSPACE%\sasview |
---|
10 | %PYTHON% check_packages.py |
---|
11 | |
---|
12 | |
---|
13 | cd %WORKSPACE%\sasview |
---|
14 | python setup.py build -cmingw32 |
---|
15 | |
---|
16 | |
---|
17 | cd %WORKSPACE%\sasview |
---|
18 | python setup.py docs |
---|
19 | |
---|
20 | |
---|
21 | cd %WORKSPACE%\sasview |
---|
22 | python setup.py bdist_egg --skip-build |
---|
23 | |
---|
24 | |
---|
25 | cd %WORKSPACE%\sasview\test |
---|
26 | %PYTHON% utest_sasview.py |
---|
27 | |
---|
28 | |
---|
29 | cd %WORKSPACE%\sasview |
---|
30 | mkdir sasview-install |
---|
31 | set PYTHONPATH=%WORKSPACE%\sasview\sasview-install;%PYTHONPATH% |
---|
32 | |
---|
33 | |
---|
34 | cd %WORKSPACE%\sasview |
---|
35 | cd dist |
---|
36 | %EASY_INSTALL% -d ..\sasview-install sasview-3.1.2-py2.7-win32.egg |
---|
37 | |
---|
38 | |
---|
39 | cd %WORKSPACE%\sasview\sasview |
---|
40 | python setup_exe.py py2exe |
---|
41 | python installer_generator.py |
---|
42 | "C:\Program Files (x86)\Inno Setup 5\ISCC.exe" installer.iss |
---|
43 | |
---|
44 | |
---|
45 | cd Output |
---|
46 | xcopy setupSasView.exe %WORKSPACE%\sasview\dist |
---|
47 | |
---|
48 | cd %WORKSPACE%\sasview |
---|
49 | %PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview > test/sasview.txt |
---|
50 | |
---|
51 | |
---|
52 | cd %WORKSPACE% |
---|
Note: See
TracBrowser
for help on using the repository browser.