comparison setup.py @ 483:a090b3873d82

make setup abort if tests fail
author Richard Jones <richard@users.sourceforge.net>
date Sat, 05 Jan 2002 02:09:46 +0000
parents a1e778940f92
children 1d4850ecee3f
comparison
equal deleted inserted replaced
478:7b5d63306bc9 483:a090b3873d82
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.26 2001-12-08 07:06:20 jhermann Exp $ 19 # $Id: setup.py,v 1.27 2002-01-05 02:09:46 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 23
24 from glob import glob 24 from glob import glob
25 import os 25 import sys,os
26 from roundup.templatebuilder import makeHtmlBase 26 from roundup.templatebuilder import makeHtmlBase
27 27
28 print 'Running unit tests...' 28 print 'Running unit tests...'
29 import test 29 import test
30 test.go() 30 if not test.go():
31 sys.exit(0)
31 32
32 33
33 def isTemplateDir(dir): 34 def isTemplateDir(dir):
34 return dir[0] != '.' and dir != 'CVS' and os.path.isdir(dir) \ 35 return dir[0] != '.' and dir != 'CVS' and os.path.isdir(dir) \
35 and os.path.isfile(os.path.join(dir, '__init__.py')) 36 and os.path.isfile(os.path.join(dir, '__init__.py'))
61 ) 62 )
62 63
63 64
64 setup( 65 setup(
65 name = "roundup", 66 name = "roundup",
66 version = "0.3.0", 67 version = "0.4.0b1",
67 description = "Roundup issue tracking system.", 68 description = "Roundup issue tracking system.",
68 author = "Richard Jones", 69 author = "Richard Jones",
69 author_email = "richard@users.sourceforge.net", 70 author_email = "richard@users.sourceforge.net",
70 url = 'http://sourceforge.net/projects/roundup/', 71 url = 'http://sourceforge.net/projects/roundup/',
71 packages = packagelist, 72 packages = packagelist,
74 ) 75 )
75 76
76 77
77 # 78 #
78 # $Log: not supported by cvs2svn $ 79 # $Log: not supported by cvs2svn $
80 # Revision 1.26 2001/12/08 07:06:20 jhermann
81 # Install html template files to share/roundup/templates
82 #
79 # Revision 1.25 2001/11/21 23:42:54 richard 83 # Revision 1.25 2001/11/21 23:42:54 richard
80 # Some version number and documentation fixes. 84 # Some version number and documentation fixes.
81 # 85 #
82 # Revision 1.24 2001/11/06 22:32:15 jhermann 86 # Revision 1.24 2001/11/06 22:32:15 jhermann
83 # Install roundup.cgi to share/roundup 87 # Install roundup.cgi to share/roundup

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