$OpenBSD: patch-lib_matplotlib___init___py,v 1.5 2005/09/19 01:42:12 djm Exp $ --- lib/matplotlib/__init__.py.orig Sat Jul 9 00:10:19 2005 +++ lib/matplotlib/__init__.py Mon Sep 19 10:46:46 2005 @@ -342,21 +342,21 @@ def _get_data_path(): path = os.environ['MATPLOTLIBDATA'] if os.path.isdir(path): return path - path = os.path.join(distutils.sysconfig.PREFIX, 'share', 'matplotlib') + path = os.path.join(distutils.sysconfig.PREFIX, 'share', 'py-matplotlib') if os.path.isdir(path): return path - path = '/usr/local/share/matplotlib' + path = '/usr/local/share/py-matplotlib' if os.path.isdir(path): return path - path = '/usr/share/matplotlib' + path = '/usr/share/py-matplotlib' if os.path.isdir(path): return path path = os.path.join(os.sep.join(__file__.split(os.sep)[:-1]), - 'share','matplotlib') + 'share','py-matplotlib') if os.path.isdir(path): return path path = os.path.join(os.sep.join(__file__.split(os.sep)[:-5]), - 'share','matplotlib') + 'share','py-matplotlib') if os.path.isdir(path): return path # CODE ADDED TO SUPPORT PY2EXE - you will need to copy