source:
sasview/build_tools/jenkins_win_build.bat
@
b2669f5
Last change on this file since b2669f5 was 261e075, checked in by trnielsen, 9 years ago | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[c6ea8e9] | 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% | |
[261e075] | 6 | set PYLINT=c:\python27\scripts\pylint |
[c6ea8e9] | 7 | |
8 | ||
[dbb2e9d] | 9 | cd %WORKSPACE%\sasview |
[c6ea8e9] | 10 | %PYTHON% check_packages.py |
11 | ||
12 | ||
[dbb2e9d] | 13 | cd %WORKSPACE%\sasview |
[c6ea8e9] | 14 | python setup.py build -cmingw32 |
15 | ||
16 | ||
[dbb2e9d] | 17 | cd %WORKSPACE%\sasview |
[c6ea8e9] | 18 | python setup.py docs |
19 | ||
20 | ||
[dbb2e9d] | 21 | cd %WORKSPACE%\sasview |
[c6ea8e9] | 22 | python setup.py bdist_egg --skip-build |
23 | ||
24 | ||
[dbb2e9d] | 25 | cd %WORKSPACE%\sasview\test |
[c6ea8e9] | 26 | %PYTHON% utest_sasview.py |
27 | ||
28 | ||
[dbb2e9d] | 29 | cd %WORKSPACE%\sasview |
[c6ea8e9] | 30 | mkdir sasview-install |
[dbb2e9d] | 31 | set PYTHONPATH=%WORKSPACE%\sasview\sasview-install;%PYTHONPATH% |
[c6ea8e9] | 32 | |
33 | ||
[dbb2e9d] | 34 | cd %WORKSPACE%\sasview |
[c6ea8e9] | 35 | cd dist |
36 | %EASY_INSTALL% -d ..\sasview-install sasview-3.1.2-py2.7-win32.egg | |
37 | ||
38 | ||
[dbb2e9d] | 39 | cd %WORKSPACE%\sasview\sasview |
[c6ea8e9] | 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 | |
[dbb2e9d] | 46 | xcopy setupSasView.exe %WORKSPACE%\sasview\dist |
[c6ea8e9] | 47 | |
[dbb2e9d] | 48 | cd %WORKSPACE%\sasview |
49 | %PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview > test/sasview.txt | |
[f0d4fcc] | 50 | |
[c6ea8e9] | 51 | |
52 | cd %WORKSPACE% |
Note: See TracBrowser
for help on using the repository browser.