23 | | |
24 | | === Building === |
25 | | |
26 | | 1. Download wxPython source code package, uncompress it |
27 | | 1. Copy attachment:package.cmd to main source code directory |
28 | | 1. Open OSGeo4W shell, go to main source directory and run `package.cmd` |
29 | | |
30 | | === Creating OSGeo4W package === |
31 | | |
32 | | {{{ |
33 | | mkdir osgeo4w |
34 | | mkdir osgeo4w/bin |
35 | | mkdir osgeo4w/apps |
36 | | mkdir osgeo4w/apps/Python25 |
37 | | mkdir osgeo4w/apps/Python25/Lib |
38 | | mkdir osgeo4w/apps/Python25/Lib/site-packages |
39 | | mkdir osgeo4w/apps/Python25/Lib/site-packages/wx-2.8-msw-unicode |
40 | | mkdir osgeo4w/apps/Python25/Scripts |
41 | | |
42 | | cp lib/vc_dll/*.dll osgeo4w/bin/ |
43 | | cp wxPython/distrib/msw/gdiplus.dll osgeo4w/bin/ |
44 | | cp -r wxPython/build.unicode/lib.win32-2.5/* osgeo4w/apps/Python25/Lib/site-packages/wx-2.8-msw-unicode |
45 | | cp wxPython/wxversion/wxversion.py osgeo4w/apps/Python25/Lib/site-packages |
46 | | cp wxPython/src/wx.pth osgeo4w/apps/Python25/Lib/site-packages |
47 | | cp wxPython/scripts/* osgeo4w/apps/Python25/Scripts |
48 | | rm osgeo4w/apps/Python25/Scripts/*.py |
49 | | }}} |