From 95bfa16f952c05a9c6e45f0f93c3af4678b7d27e Mon Sep 17 00:00:00 2001 From: cookedm Date: Mon, 28 May 2007 17:48:14 +0000 Subject: numpy/setup.py shouldn't be run as a script --- numpy/setup.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'numpy/setup.py') diff --git a/numpy/setup.py b/numpy/setup.py index 8312bb7ad..9ecf1087b 100644 --- a/numpy/setup.py +++ b/numpy/setup.py @@ -19,11 +19,4 @@ def configuration(parent_package='',top_path=None): return config if __name__ == '__main__': - # Remove current working directory from sys.path - # to avoid importing numpy.distutils as Python std. distutils: - import os, sys - for cwd in ['','.',os.getcwd()]: - while cwd in sys.path: sys.path.remove(cwd) - - from numpy.distutils.core import setup - setup(configuration=configuration) + print 'This is the wrong setup.py file to run' -- cgit v1.2.1