Changeset 9f441a9 in sasview for build_tools


Ignore:
Timestamp:
May 11, 2016 6:18:18 AM (3 years ago)
Author:
trnielsen
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a9946e9
Parents:
c5d1c37
Message:

Update windows build script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build_tools/jenkins_win_build.bat

    r261e075 r9f441a9  
    1  
    2 set PYTHON=C:\Python27\python 
     1set PYTHON=c:\python27\python 
    32set 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 
     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" 
    76 
    87 
    9 cd %WORKSPACE%\sasview 
    10 %PYTHON% check_packages.py 
     8set PYTHONPATH=%PYTHONPATH%;%WORKSPACE%\sasview\utils 
     9set PYTHONPATH=%PYTHONPATH%;%WORKSPACE%\sasview\sasview-install 
     10 
     11echo %PYTHONPATH% 
     12echo %WORKSPACE% 
    1113 
    1214 
    13 cd %WORKSPACE%\sasview 
    14 python setup.py build -cmingw32 
     15:: MAKE DIR FOR EGGS ################################################## 
     16cd %WORKSPACE% 
     17cd sasview 
     18MD sasview-install 
     19MD utils 
    1520 
    1621 
    17 cd %WORKSPACE%\sasview 
    18 python setup.py docs 
     22:: SASMODELS build #################################################### 
     23cd %WORKSPACE% 
     24cd sasmodels 
     25%PYTHON% setup.py build 
    1926 
    2027 
    21 cd %WORKSPACE%\sasview 
    22 python setup.py bdist_egg --skip-build 
     28 
     29:: SASMODELS doc ###################################################### 
     30cd doc 
     31make html 
    2332 
    2433 
     34:: SASMODELS build egg ################################################ 
     35cd %WORKSPACE% 
     36cd sasmodels 
     37%PYTHON% setup.py bdist_egg 
     38 
     39 
     40:: SASMODELS install egg ############################################## 
     41cd %WORKSPACE% 
     42cd sasmodels 
     43cd dist 
     44echo F | xcopy sasmodels-*.egg sasmodels.egg /Y 
     45%EASY_INSTALL% -d %WORKSPACE%\sasview\utils sasmodels.egg 
     46 
     47 
     48:: NOW BUILD SASVIEW 
     49 
     50:: SASVIEW build egg ################################################ 
     51:: Remember to modify C:\Python27\Lib\distutils\distutils.cfg to you compiler 
     52cd %WORKSPACE% 
     53cd sasview 
     54%PYTHON% setup.py build docs bdist_egg 
     55 
     56 
     57:: SASVIEW utest ###################################################### 
    2558cd %WORKSPACE%\sasview\test 
    2659%PYTHON% utest_sasview.py 
    2760 
    2861 
    29 cd %WORKSPACE%\sasview 
    30 mkdir sasview-install 
    31 set PYTHONPATH=%WORKSPACE%\sasview\sasview-install;%PYTHONPATH% 
     62:: SASVIEW INSTALL EGG ################################################ 
     63cd %WORKSPACE% 
     64cd sasview 
     65cd dist 
     66echo F | xcopy sasview-*.egg sasview.egg /Y 
     67%EASY_INSTALL% -d %WORKSPACE%\sasview\sasview-install sasview.egg 
    3268 
    3369 
    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  
     70:: SASVIEW INSTALLER ################################################## 
     71cd %WORKSPACE% 
     72cd sasview 
     73cd sasview 
     74%PYTHON% setup_exe.py py2exe 
     75%PYTHON% installer_generator.py 
     76%INNO% installer.iss 
    4577cd Output 
    4678xcopy setupSasView.exe %WORKSPACE%\sasview\dist 
    4779 
     80 
     81:: SASVIEW PYLINT ##################################################### 
    4882cd %WORKSPACE%\sasview 
    49 %PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview > test/sasview.txt 
     83%PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview.egg/sas sasview > test/sasview.txt 
    5084 
    5185 
    52 cd  %WORKSPACE% 
     86:: GO BACK ############################################################ 
     87cd %WORKSPACE% 
Note: See TracChangeset for help on using the changeset viewer.