wiki:pkg-wxpython

Version 20 (modified by martinl, 13 years ago) ( diff )

--

wxpython

Open Tickets

No results

Closed Tickets

#214
update wxpython package
#577
upload new package python3-wx

Packaging process

Jef's notes: Not sure after 2 years. Although #85 suggests otherwise, I still have a build directory, which matches the wx DLLs found in bin/. I suppose the package was then tarred up manually. See attachment:wxpython-2.8.9.1.diff.

Building

  1. Download wxPython source code package, uncompress it
  2. Copy attachment:package.cmd to main source code directory
  3. Open OSGeo4W shell, go to main source directory and run package.cmd

Creating OSGeo4W package

mkdir osgeo4w
mkdir osgeo4w/bin
mkdir osgeo4w/apps
mkdir osgeo4w/apps/Python25
mkdir osgeo4w/apps/Python25/Lib
mkdir osgeo4w/apps/Python25/Lib/site-packages
mkdir osgeo4w/apps/Python25/Lib/site-packages/wx-2.8-msw-unicode
mkdir osgeo4w/apps/Python25/Scripts

cp lib/vc_dll/*.dll osgeo4w/bin/
cp wxPython/distrib/msw/gdiplus.dll osgeo4w/bin/
cp -r wxPython/build.unicode/lib.win32-2.5/* osgeo4w/apps/Python25/Lib/site-packages/wx-2.8-msw-unicode
cp wxPython/wxversion/wxversion.py osgeo4w/apps/Python25/Lib/site-packages
cp wxPython/src/wx.pth osgeo4w/apps/Python25/Lib/site-packages
cp wxPython/scripts/* osgeo4w/apps/Python25/Scripts
rm osgeo4w/apps/Python25/Scripts/*.py

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.