Skip to content

Commit cf5b8bd

Browse files
author
Richard Jones
committed
Am now bundling unittest with the package so everyone can use the unit tests.
1 parent 9c50833 commit cf5b8bd

File tree

2 files changed

+720
-9
lines changed

2 files changed

+720
-9
lines changed

setup.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /usr/bin/env python
2-
# $Id: setup.py,v 1.13 2001-08-03 07:18:57 richard Exp $
2+
# $Id: setup.py,v 1.14 2001-08-06 23:57:20 richard Exp $
33

44
from distutils.core import setup, Extension
55
from distutils.util import get_platform
@@ -8,14 +8,9 @@
88
import os
99
from roundup.templatebuilder import makeHtmlBase
1010

11-
try:
12-
import unittest
13-
except:
14-
print 'Skipping unit tests (no unittest module found)'
15-
else:
16-
print 'Running unit tests...'
17-
import test
18-
test.go()
11+
print 'Running unit tests...'
12+
import test
13+
test.go()
1914

2015
templates = 'classic', 'extended'
2116
packagelist = [ 'roundup', 'roundup.backends', 'roundup.templates' ]
@@ -41,6 +36,9 @@
4136

4237
#
4338
# $Log: not supported by cvs2svn $
39+
# Revision 1.13 2001/08/03 07:18:57 richard
40+
# updated version number for 0.2.6
41+
#
4442
# Revision 1.12 2001/08/03 02:51:06 richard
4543
# detect unit tests
4644
#

0 commit comments

Comments
 (0)