Changes between Version 3 and Version 4 of pkg-python/Python27
- Timestamp:
- 03/14/12 22:39:44 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pkg-python/Python27
v3 v4 27 27 if exist %windir%\SysWOW64\python27.dll copy %windir%\SysWOW64\python27.dll bin\ 28 28 if exist %windir%\System32\python27.dll copy %windir%\System32\python27.dll bin\ 29 }}} 29 30 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 31 Manually add batch files for `etc\ini`, `etc\postinstall`, & `bin` 33 32 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 33 Now create the package archive 34 {{{ 35 set ver=2.7.1-1 36 7z a -ttar python-%ver%.tar apps\Python27 bin\python*.exe bin\w9xpopen.exe bin\python27.dll etc\ini\python.bat 37 7z a -tbzip2 -mx9 -mmt=on python-%ver%.tar.bz2 python-%ver%.tar 37 38 }}} 39