From: richard Date: Sat, 17 Apr 2004 01:47:15 +0000 (+0000) Subject: check MANIFEST at build time X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=de31b71e04b775a7ae98d3a61724c491b34340da;p=roundup.git check MANIFEST at build time git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2284 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/setup.py b/setup.py index f5e654a..1a9c5ae 100644 --- a/setup.py +++ b/setup.py @@ -16,11 +16,12 @@ # 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,