Changes between Version 12 and Version 13 of pkg-python/Python27


Ignore:
Timestamp:
Mar 30, 2012, 1:59:07 PM (12 years ago)
Author:
maphew
Comment:

update for core, help, wrapper triad version of packaging

Legend:

Unmodified
Added
Removed
Modified
  • pkg-python/Python27

    v12 v13  
    11= Making a Python 2.7 package for OSGeo4W =
    22
    3 ''Recipe for building a python package.''
     3''Recipe for building the python packages (-core, -help, -wrapper).''
    44
    55Open a command shell and
     
    1414
    1515pushd d:\o4w-packages\python
    16 mkdir python-%ver%
    17 cd python-%ver%
    18 mkdir apps bin etc
    19 
    20 :: Add batch files for `etc\ini`, `etc\postinstall`, & `bin` from skeleton
    21 xcopy /s ..\python-skeleton\* .\
     16mkdir python-core python-wrapper python-help
    2217}}}
    2318
    2419Manually compare c:\python27 to previous o4w python installs, then reflect the structure
    2520{{{
    26 xcopy /s c:\python%vv% apps\Python%vv%
     21cd python-core
     22xcopy /s/d c:\python%vv% apps\Python%vv%
    2723move apps\Python%vv%\*.exe bin\
    2824move apps\Python%vv%\*.dll bin\
     25
     26mkdir ..\python-help\apps\Python%vv%\Doc
     27move apps\Python%vv%\Doc ..\python-help\apps\Python%vv%\Doc
    2928}}}
    3029
    31 Now create the package archive
     30
     31Now create the package archives
    3232{{{
    33 rem 7z a -ttar ..\python-%ver-pkg%.tar apps bin etc
    34 rem 7z a -tbzip2 -mx9 -mmt=on ..\python-%ver-pkg%.tar.bz2 ..\python-%ver-pkg%.tar
    35 %osgeo4w_root%\apps\msys\bin\tar.exe cvjf ../python-%ver-pkg%.tar.bz2 apps bin etc
     33%osgeo4w_root%\apps\msys\bin\tar.exe cvjf ../python-%ver-pkg%.tar.bz2 apps bin
     34
     35pushd ..\python-help
     36%osgeo4w_root%\apps\msys\bin\tar.exe cvjf ../python-help-%ver-pkg%.tar.bz2 apps
     37
     38pushd ..\python-wrapper
     39%osgeo4w_root%\apps\msys\bin\tar.exe cvjf ../python-wrapper-%ver-pkg%.tar.bz2 apps bin etc
    3640}}}
    3741