matplotlib is a python 2D plotting library which produces publication quality figures using in a variety of hardcopy formats (PNG, JPG, PS, SVG). matplotlib can be used in python scripts, interactively from the python shell (ala matlab or mathematica), in web application servers generating dynamic charts, or embedded in GUI applications. feedback and ok xsa@ alek@
21 lines
1010 B
Plaintext
21 lines
1010 B
Plaintext
$OpenBSD: patch-setupext_py,v 1.1.1.1 2004/11/11 04:05:26 djm Exp $
|
|
--- setupext.py.orig Fri Nov 5 02:27:13 2004
|
|
+++ setupext.py Tue Nov 9 20:53:10 2004
|
|
@@ -35,6 +35,7 @@ basedir = {
|
|
'win32' : ['win32_static',],
|
|
'linux2' : ['/usr/local', '/usr',],
|
|
'linux' : ['/usr/local', '/usr',],
|
|
+ 'openbsd3' : [os.getenv('X11BASE') or '/usr/X11R6', os.getenv('LOCALBASE') or '/usr/local', '/usr',],
|
|
'darwin' : ['/usr/local', '/usr', '/sw', '/usr/X11R6'],
|
|
'freebsd4' : ['/usr/local', '/usr'],
|
|
'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
|
|
@@ -82,6 +83,8 @@ def temp_copy(_from, _to):
|
|
def add_base_flags(module):
|
|
incdirs = [os.path.join(p, 'include') for p in basedir[sys.platform]
|
|
if os.path.exists(p)]
|
|
+ if os.getenv('EXTRA_INCLUDES') is not None:
|
|
+ incdirs += os.getenv('EXTRA_INCLUDES').split()
|
|
libdirs = [os.path.join(p, 'lib') for p in basedir[sys.platform]
|
|
if os.path.exists(p)]
|
|
module.include_dirs.extend(incdirs)
|