[Scipy-svn] r2080 - trunk

scipy-svn at scipy.org scipy-svn at scipy.org
Wed Jul 12 02:02:10 EDT 2006


Author: fperez
Date: 2006-07-12 01:02:04 -0500 (Wed, 12 Jul 2006)
New Revision: 2080

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-11 19:13:55 UTC (rev 2079)
+++ trunk/setup.py	2006-07-12 06:02:04 UTC (rev 2080)
@@ -1,6 +1,11 @@
+#!/usr/bin/env python
 import os
 import sys
 
+# 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')
+
 os.environ['NO_SCIPY_IMPORT']='SciPy/setup.py'
 
 def configuration(parent_package='',top_path=None):




More information about the Scipy-svn mailing list