Mercurial > p > roundup > code
comparison setup.py @ 580:b15ef833df5f
prep work for release
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 23 Jan 2002 06:05:36 +0000 |
| parents | 1d4850ecee3f |
| children | 2256f81293c1 |
comparison
equal
deleted
inserted
replaced
| 579:8bce1a8b3814 | 580:b15ef833df5f |
|---|---|
| 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.28 2002-01-11 03:24:15 richard Exp $ | 19 # $Id: setup.py,v 1.29 2002-01-23 06:05:36 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 sys,os | 25 import sys,os |
| 26 from roundup.templatebuilder import makeHtmlBase | 26 from roundup.templatebuilder import makeHtmlBase |
| 27 | |
| 28 print 'Running unit tests...' | |
| 29 import test | |
| 30 if not test.go(): | |
| 31 sys.exit(0) | |
| 32 | |
| 33 | 27 |
| 34 def isTemplateDir(dir): | 28 def isTemplateDir(dir): |
| 35 return dir[0] != '.' and dir != 'CVS' and os.path.isdir(dir) \ | 29 return dir[0] != '.' and dir != 'CVS' and os.path.isdir(dir) \ |
| 36 and os.path.isfile(os.path.join(dir, '__init__.py')) | 30 and os.path.isfile(os.path.join(dir, '__init__.py')) |
| 37 | 31 |
| 62 ) | 56 ) |
| 63 | 57 |
| 64 | 58 |
| 65 setup( | 59 setup( |
| 66 name = "roundup", | 60 name = "roundup", |
| 67 version = "0.4.0b2", | 61 version = "0.4.0", |
| 68 description = "Roundup issue tracking system.", | 62 description = "Roundup issue tracking system.", |
| 69 author = "Richard Jones", | 63 author = "Richard Jones", |
| 70 author_email = "richard@users.sourceforge.net", | 64 author_email = "richard@users.sourceforge.net", |
| 71 url = 'http://sourceforge.net/projects/roundup/', | 65 url = 'http://sourceforge.net/projects/roundup/', |
| 72 packages = packagelist, | 66 packages = packagelist, |
| 75 ) | 69 ) |
| 76 | 70 |
| 77 | 71 |
| 78 # | 72 # |
| 79 # $Log: not supported by cvs2svn $ | 73 # $Log: not supported by cvs2svn $ |
| 74 # Revision 1.28 2002/01/11 03:24:15 richard | |
| 75 # minor changes for 0.4.0b2 | |
| 76 # | |
| 80 # Revision 1.27 2002/01/05 02:09:46 richard | 77 # Revision 1.27 2002/01/05 02:09:46 richard |
| 81 # make setup abort if tests fail | 78 # make setup abort if tests fail |
| 82 # | 79 # |
| 83 # Revision 1.26 2001/12/08 07:06:20 jhermann | 80 # Revision 1.26 2001/12/08 07:06:20 jhermann |
| 84 # Install html template files to share/roundup/templates | 81 # Install html template files to share/roundup/templates |
