changeset 190:6e6c89eca9db

Make sure optional PostgreSQL connect parameters are passed as None, require wokkel and uuid in setup.py. Release 0.7.2.
author Ralph Meijer <ralphm@ik.nu>
date Sat, 17 May 2008 18:30:39 +0000
parents c61034369463
children 48245777acea
files NEWS README idavoll/tap.py setup.py
diffstat 4 files changed, 23 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Tue Apr 22 13:15:53 2008 +0000
+++ b/NEWS	Sat May 17 18:30:39 2008 +0000
@@ -1,3 +1,11 @@
+0.7.2 (2008-05-16)
+==================
+
+ - Make sure that optional PostgreSQL connect parameters are passed as None
+   if not specified.
+ - Require wokkel and uuid through setup.py.
+
+
 0.7.0 (2008-04-22)
 ==================
 
--- a/README	Tue Apr 22 13:15:53 2008 +0000
+++ b/README	Sat May 17 18:30:39 2008 +0000
@@ -1,4 +1,4 @@
-Idavoll 0.7.0
+Idavoll 0.7.2
 
 What is this?
 ================
--- a/idavoll/tap.py	Tue Apr 22 13:15:53 2008 +0000
+++ b/idavoll/tap.py	Sat May 17 18:30:39 2008 +0000
@@ -12,7 +12,7 @@
 
 from idavoll.backend import BackendService
 
-__version__ = '0.7.0'
+__version__ = '0.7.2'
 
 class Options(usage.Options):
     optParameters = [
@@ -21,11 +21,11 @@
         ('rhost', None, '127.0.0.1', 'Jabber server host'),
         ('rport', None, '5347', 'Jabber server port'),
         ('backend', None, 'memory', 'Choice of storage backend'),
-        ('dbuser', None, '', 'Database user (pgsql backend)'),
+        ('dbuser', None, None, 'Database user (pgsql backend)'),
         ('dbname', None, 'pubsub', 'Database name (pgsql backend)'),
-        ('dbpass', None, '', 'Database password (pgsql backend)'),
-        ('dbhost', None, '', 'Database host (pgsql backend)'),
-        ('dbport', None, '', 'Database port (pgsql backend)'),
+        ('dbpass', None, None, 'Database password (pgsql backend)'),
+        ('dbhost', None, None, 'Database host (pgsql backend)'),
+        ('dbport', None, None, 'Database port (pgsql backend)'),
     ]
 
     optFlags = [
--- a/setup.py	Tue Apr 22 13:15:53 2008 +0000
+++ b/setup.py	Sat May 17 18:30:39 2008 +0000
@@ -1,12 +1,18 @@
 #!/usr/bin/env python
 
-# Copyright (c) 2003-2006 Ralph Meijer
+# Copyright (c) 2003-2008 Ralph Meijer
 # See LICENSE for details.
 
+import sys
 from setuptools import setup
 
+install_requires = ['wokkel >= 0.3.1']
+
+if sys.version_info < (2, 5):
+    install_requires.append('uuid')
+
 setup(name='idavoll',
-      version='0.7.0',
+      version='0.7.2',
       description='Jabber Publish-Subscribe Service Component',
       author='Ralph Meijer',
       author_email='ralphm@ik.nu',
@@ -20,4 +26,5 @@
       package_data={'twisted.plugins': ['twisted/plugins/idavoll.py',
                                         'twisted/plugins/idavoll_http.py']},
       zip_safe=False,
+      install_requires=install_requires,
 )