Code

doc cleanup, editing and creation of a What's New
[roundup.git] / setup.py
index 9ebfc28088b48af096722ec6958526d9716c342a..aac46c35acabadc0be241dbd2f29c077a702c30c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: setup.py,v 1.51 2003-05-09 05:04:33 richard Exp $
+# $Id: setup.py,v 1.59 2004-03-24 05:56:06 richard Exp $
 
 from distutils.core import setup, Extension
 from distutils.util import get_platform
@@ -26,8 +26,8 @@ import sys, os, string
 from glob import glob
 
 # patch distutils if it can't cope with the "classifiers" keyword
-if sys.version < '2.2.3':
-    from distutils.dist import DistributionMetadata
+from distutils.dist import DistributionMetadata
+if not hasattr(DistributionMetadata, 'classifiers'):
     DistributionMetadata.classifiers = None
     DistributionMetadata.download_url = None
 
@@ -78,7 +78,8 @@ class build_scripts_create(build_scripts):
             module = os.path.splitext(os.path.basename(script))[0]
             module = string.translate(module, to_module)
             cmdopt=self.distribution.command_options
-            if cmdopt['install'].has_key('prefix'):
+            if (cmdopt.has_key('install') and
+                cmdopt['install'].has_key('prefix')):
                 prefix = cmdopt['install']['prefix'][1]
                 version = '%d.%d'%sys.version_info[:2]
                 prefix = '''
@@ -157,7 +158,7 @@ def main():
             'doc/roundup-mailgw.1', 'doc/roundup-server.1']))
 
     # add the templates to the data files lists
-    from roundup.admin import listTemplates
+    from roundup.init import listTemplates
     templates = [t['path'] for t in listTemplates('templates').values()]
     for tdir in templates:
         # scan for data files
@@ -179,10 +180,45 @@ def main():
     setup(
         name = "roundup", 
         version = __version__,
-        description = "Roundup issue tracking system.",
+        description = "A simple-to-use and -install issue-tracking system"
+            " with command-line, web and e-mail interfaces. Highly"
+            " customisable.",
+        long_description = 
+'''Roundup is a simple-to-use and -install issue-tracking system with
+command-line, web and e-mail interfaces. It is based on the winning design
+from Ka-Ping Yee in the Software Carpentry "Track" design competition.
+
+If you're upgrading from an older version of Roundup you *must* follow
+the "Software Upgrade" guidelines given in the maintenance documentation.
+
+No, really, this is a BETA and if you don't follow the upgrading steps,
+particularly the bit about BACKING UP YOUR DATA, I'm NOT GOING TO BE HELD
+RESPONSIBLE. This release is NOT FOR GENERAL USE.
+
+I would *greatly* appreciate people giving this release a whirl with a
+copy of their existing setup. It's only through real-world testing of
+beta releases that we can ensure that older trackers will be OK.
+
+This release introduces far too many features to list here. Some
+highlights:
+
+- added postgresql backend (originally from sf patch 761740, many changes
+  since)
+- RDBMS backends implement their session and one-time-key stores and
+  full-text indexers; thus they are now performing their own locking
+  internally
+- added new "actor" automatic property (indicates user who cause the last
+  "activity")
+- all RDBMS backends have sensible data typed columns and indexes on
+  several columns
+- we support confirming registration by replying to the email (sf bug
+  763668)
+- all HTML templating methods now automatically check for permissions
+  (either view or edit as appropriate), greatly simplifying templates
+''',
         author = "Richard Jones",
         author_email = "richard@users.sourceforge.net",
-        url = 'http://sourceforge.net/projects/roundup/',
+        url = 'http://roundup.sourceforge.net/',
         download_url = 'http://sourceforge.net/project/showfiles.php?group_id=31577',
         packages = packagelist,
         classifiers = [