diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-02 15:43:50 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-02 15:43:50 +0000 |
commit | 23dc54f27a74764ed0ae9e5619f37d35006b7c91 (patch) | |
tree | 5770b2d967fd23ec3eaad205f707762b48eee227 | |
parent | e9019344e79916bb6ecb025d6eaad6c691dba258 (diff) | |
download | numpy-23dc54f27a74764ed0ae9e5619f37d35006b7c91.tar.gz |
Using NOCOLOR env.var to workaround cygncurses bug under cygwin.
-rwxr-xr-x | setup.py | 2 | ||||
-rwxr-xr-x | weave/setup_weave.py | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -33,7 +33,7 @@ def setup_package(): sys.path.insert(0,os.path.join(local_path,n)) try: mod = __import__('setup_'+n) - configs.append(mod.configuration()) + configs.append(mod.configuration(parent_path=local_path)) mod = __import__(n+'_version') versions.append(mod) finally: diff --git a/weave/setup_weave.py b/weave/setup_weave.py index 8cd49a506..142fe0a16 100755 --- a/weave/setup_weave.py +++ b/weave/setup_weave.py @@ -4,7 +4,8 @@ import os from glob import glob from scipy_distutils.misc_util import get_path, default_config_dict, dot_join -def configuration(parent_package='',parent_path2=None): +def configuration(parent_package='',parent_path=None): + parent_path2 = parent_path parent_path = parent_package local_path = get_path(__name__,parent_path2) config = default_config_dict('weave',parent_package) |