[Checkins] SVN: lovely.session/trunk/ - Fixed `setup.py` to be on par with the latest layout.

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Jul 30 18:22:57 EDT 2008


Log message for revision 89069:
  - Fixed `setup.py` to be on par with the latest layout.
  
  - Fixed deprecation warnings, since the session API was moved to
    ``zope.session``.
  

Changed:
  _U  lovely.session/trunk/
  U   lovely.session/trunk/CHANGES.txt
  U   lovely.session/trunk/buildout.cfg
  U   lovely.session/trunk/setup.py
  _U  lovely.session/trunk/src/
  U   lovely.session/trunk/src/lovely/session/memcached.py

-=-

Property changes on: lovely.session/trunk
___________________________________________________________________
Name: svn:ignore
   + .installed.cfg
bin
dist
develop-eggs
parts


Modified: lovely.session/trunk/CHANGES.txt
===================================================================
--- lovely.session/trunk/CHANGES.txt	2008-07-30 22:18:04 UTC (rev 89068)
+++ lovely.session/trunk/CHANGES.txt	2008-07-30 22:22:56 UTC (rev 89069)
@@ -1,15 +1,24 @@
-==============
-lovely.session
-==============
+=======
+CHANGES
+=======
 
-2007/08/13 0.1.2
-----------------
+0.1.3 (2008/??/??)
+------------------
 
-- move source to zope.org
+- Fixed `setup.py` to be on par with the latest layout.
 
+- Fixed deprecation warnings, since the session API was moved to
+  ``zope.session``.
 
-2007/08/13 0.1.1
-----------------
 
-- fixed dependency on lovely.memcached
+0.1.2 (2007/08/13)
+------------------
 
+- Move source to svn.zope.org.
+
+
+0.1.1 (2007/08/13)
+------------------
+
+- Fixed dependency on `lovely.memcached`.
+

Modified: lovely.session/trunk/buildout.cfg
===================================================================
--- lovely.session/trunk/buildout.cfg	2008-07-30 22:18:04 UTC (rev 89068)
+++ lovely.session/trunk/buildout.cfg	2008-07-30 22:22:56 UTC (rev 89069)
@@ -1,9 +1,6 @@
 [buildout]
 develop = .
 parts = test
-extensions = lovely.buildouthttp
-find-links = http://download.lovelysystems.com/eggs/mirror/zope
-             https://download.lovelysystems.com/eggs/tagesspiegel
 
 [test]
 recipe = zc.recipe.testrunner

Modified: lovely.session/trunk/setup.py
===================================================================
--- lovely.session/trunk/setup.py	2008-07-30 22:18:04 UTC (rev 89068)
+++ lovely.session/trunk/setup.py	2008-07-30 22:22:56 UTC (rev 89069)
@@ -1,3 +1,20 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Setup for localy.session package
+
+$Id$
+"""
 import os
 from setuptools import setup, find_packages
 
@@ -4,47 +21,54 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
-long_description=(
+setup(name='lovely.session',
+    version = '0.1.3dev',
+    author = "Lovely Systems GmbH",
+    author_email = "office at lovelysystems.com",
+    description = "memcache-based session storage",
+    long_description=(
         read('src', 'lovely', 'session', 'README.txt')
-        + '\n' +
+        + '\n\n' +
         read('CHANGES.txt')
-        + '\n' +
+        + '\n\n' +
+        '========\n'
         'Download\n'
         '========\n'
-        )
-
-name='lovely.session'
-setup(
-    name = name,
-    version = '0.1.2',
-    author = "Lovely Systems GmbH",
-    author_email = "office at lovelysystems.com",
-    description = "memcache session",
-    long_description = long_description,
-    license = "ZPL 2.1",
-    keywords = "session zope zope3",
-    url = 'https://launchpad.net/lovely.tal',
-    zip_safe = False,
-    packages = find_packages('src'),
-    include_package_data = True,
-    package_dir = {'':'src'},
-    namespace_packages = ['lovely',],
-    install_requires = ['setuptools',
-                        'lovely.memcached',
-                        'zope.app.container',
-                        'zope.app.session',
-                        'zope.schema',
-                        ],
+        ),
+    license='ZPL 2.1',
+    keywords = "zope3 session memcache",
+    classifiers = [
+        'Development Status :: 4 - Beta',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: Zope Public License',
+        'Programming Language :: Python',
+        'Natural Language :: English',
+        'Operating System :: OS Independent',
+        'Topic :: Internet :: WWW/HTTP',
+        'Topic :: Software Development :: Libraries :: Python Modules',
+        'Framework :: Zope3'],
+    url='http://cheeseshop.python.org/pypi/lovely.session',
+    packages=find_packages('src'),
+    package_dir = {'': 'src'},
+    namespace_packages=['lovely',],
     extras_require = dict(
         test = ['zope.app.testing',
                 'zope.interface',
                 'zope.security',
                 'zope.testing',]),
-    classifiers = [
-       'Development Status :: 4 - Beta',
-       'Intended Audience :: Developers',
-       'License :: OSI Approved :: Zope Public License',
-       'Topic :: Software Development :: Libraries :: Python Modules',
-       ],        
+    install_requires = [
+        'setuptools',
+        'lovely.memcached',
+        'zope.app.container',
+        'zope.session',
+        'zope.schema',
+        ],
+    extras_require = dict(
+        test=['zope.app.testing',
+              'zope.app.zptpage',
+              'zope.app.securitypolicy',
+              'zope.app.zcmlfiles']),
+    include_package_data = True,
+    zip_safe = False,
     )
-


Property changes on: lovely.session/trunk/src
___________________________________________________________________
Name: svn:ignore
   + lovely.session.egg-info


Modified: lovely.session/trunk/src/lovely/session/memcached.py
===================================================================
--- lovely.session/trunk/src/lovely/session/memcached.py	2008-07-30 22:18:04 UTC (rev 89068)
+++ lovely.session/trunk/src/lovely/session/memcached.py	2008-07-30 22:22:56 UTC (rev 89069)
@@ -15,7 +15,6 @@
 $Id$
 """
 __docformat__ = 'restructuredtext'
-
 import md5
 import cPickle
 import memcache
@@ -32,18 +31,17 @@
 from zope.schema.fieldproperty import FieldProperty
 
 from zope.app.container.contained import Contained
-from zope.app.session.interfaces import (
-        ISessionDataContainer,
-        ISessionData,
-        ISessionPkgData,
-        )
-from zope.app.session.session import PersistentSessionDataContainer
+from zope.session.interfaces import (
+    ISessionDataContainer,
+    ISessionData,
+    ISessionPkgData,
+    )
+from zope.session.session import PersistentSessionDataContainer
 
 from lovely.memcached.interfaces import IMemcachedClient
+from lovely.session.interfaces import IMemCachedSessionDataContainer
 
-from interfaces import IMemCachedSessionDataContainer
 
-
 class MemCachedSessionDataContainer(persistent.Persistent, Contained):
     interface.implements(ISessionDataContainer, IMemCachedSessionDataContainer)
 



More information about the Checkins mailing list