summaryrefslogtreecommitdiff
path: root/numpy/setup.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2007-05-28 17:48:14 +0000
committercookedm <cookedm@localhost>2007-05-28 17:48:14 +0000
commit95bfa16f952c05a9c6e45f0f93c3af4678b7d27e (patch)
treedee432498bd9e0a5232f4414c46fd54b9b775e2d /numpy/setup.py
parent0f7dfd7f75d339098c1bb024dfb7181c7a31411a (diff)
downloadnumpy-95bfa16f952c05a9c6e45f0f93c3af4678b7d27e.tar.gz
numpy/setup.py shouldn't be run as a script
Diffstat (limited to 'numpy/setup.py')
-rw-r--r--numpy/setup.py9
1 files changed, 1 insertions, 8 deletions
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'