[Checkins] SVN: lovely.memcached/trunk/s fixed dependencies, stats seem to be different in newer memcached versions - adapted test, TODO: something with the teardown function is wrong

Jodok Batlogg jodok.batlogg at lovelysystems.com
Mon May 28 07:11:41 EDT 2007


Log message for revision 75981:
  fixed dependencies, stats seem to be different in newer memcached versions - adapted test, TODO: something with the teardown function is wrong

Changed:
  U   lovely.memcached/trunk/setup.py
  U   lovely.memcached/trunk/src/lovely/memcached/README.txt

-=-
Modified: lovely.memcached/trunk/setup.py
===================================================================
--- lovely.memcached/trunk/setup.py	2007-05-27 21:22:56 UTC (rev 75980)
+++ lovely.memcached/trunk/setup.py	2007-05-28 11:11:39 UTC (rev 75981)
@@ -1,4 +1,4 @@
-#!python
+#!/usr/bin/env python
 from setuptools import setup, find_packages
 
 setup (
@@ -14,17 +14,23 @@
     include_package_data = True,
     package_dir = {'':'src'},
     namespace_packages = ['lovely'],
-    extras_require = dict(test = ['zope.app.testing',
+    extras_require = dict(test = ['z3c.configurator',
+                                  'z3c.testing',
+                                  'zope.app.keyreference',
                                   'zope.app.securitypolicy',
+                                  'zope.app.testing',
                                   'zope.app.zcmlfiles',
-                                  'zope.testbrowser',
                                   'z3c.testing',
                                   ]),
     install_requires = ['setuptools',
-                        'python-memcached',
-                        'ZODB3',
+                        'python-memcached',    
+                        'zope.app.component',
+                        'zope.app.intid',
+                        'zope.event',
+                        'zope.interface',
+                        'zope.lifecycleevent',
                         'zope.schema',
-                        'z3c.configurator'
+                        'zope.security'
                         ],
     zip_safe = False,
     )

Modified: lovely.memcached/trunk/src/lovely/memcached/README.txt
===================================================================
--- lovely.memcached/trunk/src/lovely/memcached/README.txt	2007-05-27 21:22:56 UTC (rev 75980)
+++ lovely.memcached/trunk/src/lovely/memcached/README.txt	2007-05-28 11:11:39 UTC (rev 75981)
@@ -240,7 +240,7 @@
 This returns the stats for each server connected.
 
   >>> util.getStatistics()
-  [('127.0.0.1:11211 (1)', {'total_items':...]
+  [('127.0.0.1:11211 (1)', {...'total_items':...]
 
 If we use a server which doesn't exist we can still use the cache but noting
 will be stored. This behaviour allows us to run without a connected memcache



More information about the Checkins mailing list