Browse files

Remove MANIFEST file at startup time, since distutils fails to proper…

…ly update it. Also add proper shebang line.
  • Loading branch information...
1 parent 6a882ae commit 36d3c1616707659db3c0217688b4ccb5d7838ae1 @fperez fperez committed Jul 12, 2006
Showing with 5 additions and 0 deletions.
  1. +5 −0
@@ -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

0 comments on commit 36d3c16

Please sign in to comment.