Source

orange / install-scripts / createCommonAddOns__.btm

Tomaz Curk 532708d 

Tomaz Curk 6abd079 

Tomaz Curk 532708d 

Tomaz Curk 6abd079 

Tomaz Curk 532708d 









Tomaz Curk 202a1b2 
Aleš Erjavec e578118 
Tomaz Curk 532708d 



Tomaz Curk 6abd079 
Tomaz Curk 570c317 
Tomaz Curk 532708d 
Aleš Erjavec 0cd39e1 
Tomaz Curk 532708d 
Aleš Erjavec e578118 

Tomaz Curk 532708d 

Tomaz Curk 6abd079 
Tomaz Curk 2ad60ad 
Tomaz Curk 532708d 
Aleš Erjavec e578118 
Tomaz Curk 532708d 
Tomaz Curk 202a1b2 

Tomaz Curk 6abd079 
Tomaz Curk 532708d 








Aleš Erjavec e578118 
Tomaz Curk 532708d 



Tomaz Curk 6abd079 
Tomaz Curk 570c317 
Tomaz Curk 532708d 
Aleš Erjavec 0cd39e1 
Tomaz Curk 2abea46 
Aleš Erjavec e578118 
Tomaz Curk 532708d 

Tomaz Curk 6abd079 
Tomaz Curk 2ad60ad 
Tomaz Curk 532708d 
Aleš Erjavec e578118 
Tomaz Curk 532708d 
Tomaz Curk 202a1b2 

Tomaz Curk 6abd079 
Tomaz Curk 532708d 
REM #input arguments
REM # %1 - PKG_TYPE - kind of installation (snapshot, release) - needed to name log file accordingly
REM # %2 - PKG_BIOINFORMATICS - name of package for Orange Bioinformatics add on (can be release or snapshot)
REM # %3 - PKG_TEXT - name of package for Orange Text Mining (release or snapshot)

set PKG_TYPE=%1
set PKG_BIOINFORMATICS=%2
set PKG_TEXT=%3

set PATH=%PATH;c:\MinGW\bin
set SWIGLIB=C:\swigwin-1.3.31\Lib

REM # compile and pack
for %pyver in (%PYTHONVERSIONS) do (
  set npver=%@LEFT[1,%pyver].%@RIGHT[-1,%pyver]

  echo *************************************
  echo *************************************
  echo *** Compiling Orange Bioinformatics for Python %pyver
  cdd %TMPDIR\Bioinformatics
  del /syeq build
  del /syeq dist

  REM # compile and pack
  set COMPILELOG=%TMPDIR\win-%PKG_TYPE-addOn-bioinformatics-compileAndPack-py%npver.log
  del /q %COMPILELOG
  set PYTHON=%PYTHONBASE%%pyver
  %PYTHON\python setup.py build -c mingw32 bdist_wininst > %COMPILELOG
  break_on_error
rem when compiled:  move /z %TMPDIR\Bioinformatics\dist\*.win32-py%npver.exe %TMPDIR\%PKG_BIOINFORMATICS-py%npver.exe
  move /z %TMPDIR\Bioinformatics\dist\*.win32.exe %TMPDIR\%PKG_BIOINFORMATICS-py%npver.exe

  REM # publish, add record to stamps_pyd.txt, needed for update from web (accessed by updateFromSVN.bat)  
  set TMPBINDIR=%TMPDIR\binaries\%pyver\add-ons\Bioinformatics
  if not direxist %TMPBINDIR mkdir /s %TMPBINDIR
  
  cdd %TMPDIR\Bioinformatics\build\lib.win32-%npver
  for %pydf in (*.pyd) do (
    copy %pydf %TMPBINDIR
    set MD5=%@MD5[%pydf]
    echo add-ons\Bioinformatics\%pydf %MD5 >> %TMPDIR\binaries\%pyver\stamps_pyd.txt
  )
)

for %pyver in (%PYTHONVERSIONS_ADDONs) do (
  set npver=%@LEFT[1,%pyver].%@RIGHT[-1,%pyver]
  
  echo *************************************
  echo *************************************
  echo *** Compiling TEXT MINING for Python %pyver 
  cdd %TMPDIR\Text
  del /syeq build
  del /syeq dist

  REM # compile and pack
  set COMPILELOG=%TMPDIR\win-%PKG_TYPE-addOn-text-compileAndPack-py%npver.log
  del /q %COMPILELOG
  set PYTHON=%PYTHONBASE%%pyver
  %PYTHON\python setup.py build -c mingw32 bdist_wininst > %COMPILELOG
  rem break_on_error
  move /z %TMPDIR\Text\dist\*.win32-py%npver.exe %TMPDIR\%PKG_TEXT-py%npver.exe

  REM # publish, add record to stamps_pyd.txt, needed for update from web (accessed by updateFromSVN.bat)  
  set TMPBINDIR=%TMPDIR\binaries\%pyver\add-ons\Text
  if not direxist %TMPBINDIR mkdir /s %TMPBINDIR

  cdd %TMPDIR\Text\build\lib.win32-%npver
  for %pydf in (*.pyd) do (
    copy %pydf %TMPBINDIR
    set MD5=%@MD5[%pydf]
    echo add-ons\Text\%pydf %MD5 >> %TMPDIR\binaries\%pyver\stamps_pyd.txt	  
  )
)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.