Changeset 9730:e578118fae89 in orange


Ignore:
Timestamp:
02/06/12 15:10:43 (2 years ago)
Author:
ales_erjavec
Branch:
default
rebase_source:
a347f41f6f7f67e4240ab73ba701b3d4001d26a7
Message:

Using hg repo in the windows packaging scripts for snapshots.

Location:
install-scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/createCommonAddOns__.btm

    r8055 r9730  
    1818  echo ************************************* 
    1919  echo *** Compiling Orange Bioinformatics for Python %pyver 
    20   cdd %TMPDIR\add-ons\Bioinformatics 
     20  cdd %TMPDIR\Bioinformatics 
    2121  del /syeq build 
    2222  del /syeq dist 
     
    2828  %PYTHON\python setup.py build -c mingw32 bdist_wininst > %COMPILELOG 
    2929  break_on_error 
    30 rem when compiled:  move /z %TMPDIR\add-ons\Bioinformatics\dist\*.win32-py%npver.exe %TMPDIR\%PKG_BIOINFORMATICS-py%npver.exe 
    31   move /z %TMPDIR\add-ons\Bioinformatics\dist\*.win32.exe %TMPDIR\%PKG_BIOINFORMATICS-py%npver.exe 
     30rem when compiled:  move /z %TMPDIR\Bioinformatics\dist\*.win32-py%npver.exe %TMPDIR\%PKG_BIOINFORMATICS-py%npver.exe 
     31  move /z %TMPDIR\Bioinformatics\dist\*.win32.exe %TMPDIR\%PKG_BIOINFORMATICS-py%npver.exe 
    3232 
    3333  REM # publish, add record to stamps_pyd.txt, needed for update from web (accessed by updateFromSVN.bat)   
     
    3535  if not direxist %TMPBINDIR mkdir /s %TMPBINDIR 
    3636   
    37   cdd %TMPDIR\add-ons\Bioinformatics\build\lib.win32-%npver 
     37  cdd %TMPDIR\Bioinformatics\build\lib.win32-%npver 
    3838  for %pydf in (*.pyd) do ( 
    3939    copy %pydf %TMPBINDIR 
     
    4949  echo ************************************* 
    5050  echo *** Compiling TEXT MINING for Python %pyver  
    51   cdd %TMPDIR\add-ons\Text 
     51  cdd %TMPDIR\Text 
    5252  del /syeq build 
    5353  del /syeq dist 
     
    5959  %PYTHON\python setup.py build -c mingw32 bdist_wininst > %COMPILELOG 
    6060  rem break_on_error 
    61   move /z %TMPDIR\add-ons\Text\dist\*.win32-py%npver.exe %TMPDIR\%PKG_TEXT-py%npver.exe 
     61  move /z %TMPDIR\Text\dist\*.win32-py%npver.exe %TMPDIR\%PKG_TEXT-py%npver.exe 
    6262 
    6363  REM # publish, add record to stamps_pyd.txt, needed for update from web (accessed by updateFromSVN.bat)   
     
    6565  if not direxist %TMPBINDIR mkdir /s %TMPBINDIR 
    6666 
    67   cdd %TMPDIR\add-ons\Text\build\lib.win32-%npver 
     67  cdd %TMPDIR\Text\build\lib.win32-%npver 
    6868  for %pydf in (*.pyd) do ( 
    6969    copy %pydf %TMPBINDIR 
  • install-scripts/createSnapshot.btm

    r8976 r9730  
    44 
    55call updateSetVariables__.btm snapshot 
    6 set WIN_SNAPSHOT=orange-win-snapshot-%daystr 
    7 set WIN_PYTHON_SNAPSHOT=orange-win-w-python-snapshot-%daystr 
     6set WIN_SNAPSHOT=orange-win-snapshot-hg-%daystr 
     7set WIN_PYTHON_SNAPSHOT=orange-win-w-python-snapshot-hg-%daystr 
    88set ADDON_BIOINFORMATICS_SNAPSHOT=orangeAddOn-bioinformatics-snapshot-%daystr 
    99set ADDON_TEXT_SNAPSHOT=orangeAddOn-text-snapshot-%daystr 
     
    1212rem # update source(s) to revision HEAD 
    1313cdd %TMPDIR 
    14 svn cleanup 
    15 svn update --ignore-externals 
     14 
     15hg pull --update 
    1616 
    1717rem # build core 
     
    2727rem # if no errors then publish on web (everything at the same time) 
    2828rem # remove any old files 
    29 except (%DOWNLOADDIR\orange*-snapshot-%daystr-*.exe) del %DOWNLOADDIR\orange*-snapshot-????-??-??-*.exe 
     29REM except (%DOWNLOADDIR\orange*-snapshot-%daystr-*.exe) del %DOWNLOADDIR\orange*-snapshot-????-??-??-*.exe 
    3030 
    3131rem # pack sources 
    3232cdd %TMPDIR 
    3333del /syeqtx sourcestopack 
    34 mkdir sourcestopack 
     34 
     35hg archive sourcestopack 
     36 
    3537cd sourcestopack 
    36 svn export --native-eol LF -q http://orange.biolab.si/svn/orange/trunk/orange 
    37 cd orange 
    38 del *.pyd *.dll *.bat 
    39 svn export --native-eol LF -q http://orange.biolab.si/svn/orange/trunk/source  
    40 copy doc\LICENSES . 
    41 copy doc\COPYING . 
    42 copy doc\LICENSES source 
    43 copy doc\COPYING source 
     38 
    4439rem # build source distribution 
    45 e:\Python26\python.exe setup.py sdist  
    46 del %DOWNLOADDIR\orange-source-snapshot-????-??-??.zip 
     40e:\Python27\python.exe setup.py sdist 
     41rem # build msi file 
     42e:\Python27\python.exe setup.py bdist_msi 
     43rem del %DOWNLOADDIR\orange-source-snapshot-????-??-??.zip 
    4744move /z dist\Orange-?.*.zip %DOWNLOADDIR\%SOURCE_SNAPSHOT 
     45move /z dist\Orange-?.*.msi %DOWNLOADDIR\%WIN_SNAPSHOT.msi 
    4846 
    4947rem # publish 
     
    5553rem # remember new filenames 
    5654cdd %SCRIPTDIR 
    57 call updateVersionsPy__.btm 
     55rem # Don't update the visible versions for now 
     56rem call updateVersionsPy__.btm 
  • install-scripts/updateAndCall.btm

    r7692 r9730  
    1 net use o: \\ailab.si\download 
     1 
    22cdd e:\orange\scripts 
    3 svn update -N 
    4 svn export http://orange.biolab.si/svn/orange/trunk/orange/doc/LICENSES license.txt 
    5 svn  
     3 
     4 
     5REM # Until orange-install-scripts repo is up this does not yet run 
     6REM hg clone https://bitbucket.org/biolab/orange-install-scripts . 
     7REM hg pull --update  
     8 
     9REM hg clone https://bitbucket.org/biolab/orange snapshot 
     10cdd snapshot 
     11hg pull --update 
     12 
     13REM hg clone https://bitbucket.org/biolab/orange-addon-bioinformatics Bioinformatics 
     14cdd Bioinformatics 
     15hg pull --update 
     16 
     17cdd  e:\orange\scripts\snapshot 
     18 
     19REM hg clone https://bitbucket.org/biolab/orange-addon-text Text 
     20cdd Text 
     21hg pull --update 
     22 
     23cdd e:\orange\scripts 
     24 
     25copy /r snapshot\install-scripts\* . 
     26 
     27#svn update -N 
     28#svn export http://orange.biolab.si/svn/orange/trunk/orange/doc/LICENSES license.txt 
     29#svn 
     30  
    631call callCreateSnapshot.btm 
    732shutdown -s 
  • install-scripts/updateSetVariables__.btm

    r8739 r9730  
    77set SCRIPTDIR=%_CWD 
    88set TMPDIR=%SCRIPTDIR\%1 
     9set SOURCEDIR=%TMPDIR\source 
    910set DOWNLOADDIR=Z:\Volumes\download\ 
    1011 
Note: See TracChangeset for help on using the changeset viewer.