Changes between Version 3 and Version 4 of pkg-python/Python27


Ignore:
Timestamp:
03/14/12 22:39:44 (13 years ago)
Author:
maphew
Comment:

note re: adding batch files

Legend:

Unmodified
Added
Removed
Modified
  • pkg-python/Python27

    v3 v4  
    2727if exist %windir%\SysWOW64\python27.dll copy %windir%\SysWOW64\python27.dll bin\
    2828if exist %windir%\System32\python27.dll copy %windir%\System32\python27.dll bin\
     29}}}
    2930
    30 :: overwrite python shell batch file
    31 :: (must be run from within bat file or the %% don't collapse properly to single %)
    32 SET PYTHONHOME=%%OSGEO4W_ROOT%%\apps\Python27> etc\ini\python.bat
     31Manually add batch files for `etc\ini`, `etc\postinstall`, & `bin`
    3332
    34 :: now create the package archive
    35 7z a -ttar python-2.7.1-1.tar apps\Python27 bin\python*.exe bin\w9xpopen.exe bin\python27.dll etc\ini\python.bat
    36 7z a -tbzip2 -mx9 -mmt=on python-2.7.1-1.tar.bz2 python-2.7.1-1.tar
     33Now create the package archive
     34{{{
     35set ver=2.7.1-1
     367z a -ttar python-%ver%.tar apps\Python27 bin\python*.exe bin\w9xpopen.exe bin\python27.dll etc\ini\python.bat
     377z a -tbzip2 -mx9 -mmt=on python-%ver%.tar.bz2 python-%ver%.tar
    3738}}}
     39