Cleaning Up wxPython Installations

Rich Shepard rshepard at appl-ecosys.com
Mon Oct 1 18:40:21 PDT 2007


   I'm still running Slackware-11.0 with Python-2.4 on my main
workstation/server, but I have quite a conglomeration of old, almost new,
and new wxPython files in various filesystems and directories. I'd like to
clean out the cruft and have the latest (2.8.6.0) in
/usr/lib/python2.4/site-packages/wxpython. Not being confident that I know
what files are needed where, I'd appreciate help.

   The currently running version is 2.8.0.1 and that's located in
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/.

   I just finished building 2.8.6.0 following the build instructions so it's
in /opt/wx/2.8/.

   However, I have old wx-config files in /usr/bin, /usr/local/bin, and
/usr/lib/python2.4/site-packages/wxpython/bin/. I also have
/usr/lib/python2.4/wx-2.6-gtk2-ansi/,
/usr/lib/python2.4/site-packages/wxaddons/. and
/usr/lib/python2.4/site-packages/wxpython/.

   There are wx.pth file in several directories in the above, and
wxversion.py dating from three years ago.

   Can I clean out everything but the
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/ directory and the
wx.pth that points to that directory? If so, into what directory should I
move all the 2.8.6.0 files to replace the 2.8.0.1 installation that
currently works?

TIA,

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |         Accelerators(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863




More information about the wxpython-users mailing list