Code

check MANIFEST at build time
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Sat, 17 Apr 2004 01:47:15 +0000 (01:47 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Sat, 17 Apr 2004 01:47:15 +0000 (01:47 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2284 57a73879-2fb5-44c3-a270-3262357dd7e2

setup.py

index f5e654adb16319958f249e875d0136c2048705ca..1a9c5ae41abf0d238921c5b86adb508bdfe6e18c 100644 (file)
--- a/setup.py
+++ b/setup.py
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: setup.py,v 1.60 2004-04-16 10:43:51 richard Exp $
+# $Id: setup.py,v 1.61 2004-04-17 01:47:15 richard Exp $
 
 from distutils.core import setup, Extension
 from distutils.util import get_platform
 from distutils.command.build_scripts import build_scripts
+from distutils.command.build import build
 
 import sys, os, string
 from glob import glob
@@ -149,6 +150,11 @@ def check_manifest():
         sys.exit(1)
 
 
+class build_roundup(build):
+    def run(self):
+        check_manifest()
+        build.run(self)
+
 #############################################################################
 ### Main setup stuff
 #############################################################################
@@ -260,6 +266,7 @@ highlights:
         # Override certain command classes with our own ones
         cmdclass = {
             'build_scripts': build_scripts_roundup,
+            'build': build_roundup,
         },
         scripts = roundup_scripts,