-rm -rf `find _distrib_tgz/wxPython-$1 -name CVS`
-rm -f `find _distrib_tgz/wxPython-$1 -name "*.pyc"`
-rm -f `find _distrib_tgz/wxPython-$1 -name .cvsignore`
-rm -f `find _distrib_tgz/wxPython-$1 -name core`
-rm -f `find _distrib_tgz/wxPython-$1 -name wxPython`
-rm -f `find _distrib_tgz/wxPython-$1 -name *.o`
-rm -f `find _distrib_tgz/wxPython-$1 -name *.so`
+rm -rf `find _distrib_tgz/wxPython-$VERSION -name CVS`
+rm -f `find _distrib_tgz/wxPython-$VERSION -name "*.pyc"`
+rm -f `find _distrib_tgz/wxPython-$VERSION -name .cvsignore`
+rm -f `find _distrib_tgz/wxPython-$VERSION -name "core.[0-9]*"`
+rm -f `find _distrib_tgz/wxPython-$VERSION -name "core"`
+rm -f `find _distrib_tgz/wxPython-$VERSION -name wxPython`
+rm -f `find _distrib_tgz/wxPython-$VERSION -name "*.o"`
+rm -f `find _distrib_tgz/wxPython-$VERSION -name "*.so"`
+rm -f `find _distrib_tgz/wxPython-$VERSION -name "*~"`
+rm -f `find _distrib_tgz/wxPython-$VERSION -name ".#*"`