From de31b71e04b775a7ae98d3a61724c491b34340da Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 17 Apr 2004 01:47:15 +0000 Subject: [PATCH] check MANIFEST at build time git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2284 57a73879-2fb5-44c3-a270-3262357dd7e2 --- setup.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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, -- 2.30.2