[Numpy-svn] r3835 - trunk/numpy
numpy-svn at scipy.org
numpy-svn at scipy.org
Mon May 28 13:48:17 EDT 2007
Author: cookedm
Date: 2007-05-28 12:48:14 -0500 (Mon, 28 May 2007)
New Revision: 3835
Modified:
trunk/numpy/setup.py
Log:
numpy/setup.py shouldn't be run as a script
Modified: trunk/numpy/setup.py
===================================================================
--- trunk/numpy/setup.py 2007-05-28 17:47:47 UTC (rev 3834)
+++ trunk/numpy/setup.py 2007-05-28 17:48:14 UTC (rev 3835)
@@ -19,11 +19,4 @@
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'
More information about the Numpy-svn
mailing list