31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
$OpenBSD: patch-lib_matplotlib___init___py,v 1.4 2005/07/09 06:14:05 djm Exp $
|
|
--- lib/matplotlib/__init__.py.orig Thu Jun 16 04:27:37 2005
|
|
+++ lib/matplotlib/__init__.py Thu Jun 30 20:55:58 2005
|
|
@@ -285,21 +285,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
|