comparison setup.py @ 2992:6fe75dcb0b34

some unit test fixes
author Richard Jones <richard@users.sourceforge.net>
date Wed, 08 Dec 2004 01:24:42 +0000
parents 7edf7779145b
children 0a81ed2b397d 42f5d0cebcce
comparison
equal deleted inserted replaced
2991:b9a55628a78d 2992:6fe75dcb0b34
14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
18 # 18 #
19 # $Id: setup.py,v 1.76 2004-11-29 02:01:05 anthonybaxter Exp $ 19 # $Id: setup.py,v 1.77 2004-12-08 01:24:41 richard Exp $
20 20
21 from distutils.core import setup, Extension 21 from distutils.core import setup, Extension
22 from distutils.util import get_platform 22 from distutils.util import get_platform
23 from distutils.command.build_scripts import build_scripts 23 from distutils.command.build_scripts import build_scripts
24 from distutils.command.build import build 24 from distutils.command.build import build
208 """ 208 """
209 try: 209 try:
210 f = open('MANIFEST') 210 f = open('MANIFEST')
211 except: 211 except:
212 print '\n*** SOURCE ERROR: The MANIFEST file is missing!' 212 print '\n*** SOURCE ERROR: The MANIFEST file is missing!'
213 sys.exit(1) 213 return
214 try: 214 try:
215 manifest = [l.strip() for l in f.readlines()] 215 manifest = [l.strip() for l in f.readlines()]
216 finally: 216 finally:
217 f.close() 217 f.close()
218 err = [line for line in manifest if not os.path.exists(line)] 218 err = [line for line in manifest if not os.path.exists(line)]

Roundup Issue Tracker: http://roundup-tracker.org/