diff options
| author | Fernando Perez <fperez@fperez.org> | 2006-07-12 06:02:28 +0000 |
|---|---|---|
| committer | Fernando Perez <fperez@fperez.org> | 2006-07-12 06:02:28 +0000 |
| commit | 36d3c1616707659db3c0217688b4ccb5d7838ae1 (patch) | |
| tree | 08500507bc8752b85e7379d6d28bb23cb6a79906 /setup.py | |
| parent | 6a882aee5c0f1db892363600f17fc43f4a175d23 (diff) | |
| download | numpy-36d3c1616707659db3c0217688b4ccb5d7838ae1.tar.gz | |
Remove MANIFEST file at startup time, since distutils fails to properly update it. Also add proper shebang line.
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 :: Unix 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 |
