[Numpy-svn] r2805 - trunk
numpy-svn at scipy.org
numpy-svn at scipy.org
Wed Jul 12 02:02:31 EDT 2006
Author: fperez
Date: 2006-07-12 01:02:28 -0500 (Wed, 12 Jul 2006)
New Revision: 2805
Modified:
trunk/setup.py
Log:
Remove MANIFEST file at startup time, since distutils fails to properly update it. Also add proper shebang line.
Modified: trunk/setup.py
===================================================================
--- trunk/setup.py 2006-07-12 00:01:01 UTC (rev 2804)
+++ trunk/setup.py 2006-07-12 06:02:28 UTC (rev 2805)
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
"""NumPy: array processing for numbers, strings, records, and objects.
NumPy is a general-purpose array-processing package designed to
@@ -31,6 +32,10 @@
Operating System :: MacOS
"""
+# BEFORE importing distutils, remove MANIFEST. distutils doesn't properly
+# update it when the contents of directories change.
+if os.path.exists('MANIFEST'): os.remove('MANIFEST')
+
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
More information about the Numpy-svn
mailing list