[Checkins] SVN: zope.app.authentication/trunk/ Getting ready for a release. Unfortunately, I cannot create the

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Sep 27 19:47:04 EDT 2007


Log message for revision 80262:
  Getting ready for a release. Unfortunately, I cannot create the 
  release, because I cannot run the tests, because some dependency 
  requires ``zope.app``, which is deleted.
  
  

Changed:
  A   zope.app.authentication/trunk/CHANGES.txt
  A   zope.app.authentication/trunk/README.txt
  U   zope.app.authentication/trunk/buildout.cfg
  U   zope.app.authentication/trunk/setup.py
  _U  zope.app.authentication/trunk/src/
  U   zope.app.authentication/trunk/src/zope/app/authentication/session.py

-=-
Added: zope.app.authentication/trunk/CHANGES.txt
===================================================================
--- zope.app.authentication/trunk/CHANGES.txt	                        (rev 0)
+++ zope.app.authentication/trunk/CHANGES.txt	2007-09-27 23:47:04 UTC (rev 80262)
@@ -0,0 +1,9 @@
+=======
+CHANGES
+=======
+
+
+Version 3.4.0 (2007-09-27)
+--------------------------
+
+* First Zope-independent release.


Property changes on: zope.app.authentication/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: zope.app.authentication/trunk/README.txt
===================================================================
--- zope.app.authentication/trunk/README.txt	                        (rev 0)
+++ zope.app.authentication/trunk/README.txt	2007-09-27 23:47:04 UTC (rev 80262)
@@ -0,0 +1,6 @@
+==========================
+ Pluggable Authentication
+==========================
+
+This package provides a flexible and pluggable authentication utility for Zope
+3. Several common plugins are provided.


Property changes on: zope.app.authentication/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: zope.app.authentication/trunk/buildout.cfg
===================================================================
--- zope.app.authentication/trunk/buildout.cfg	2007-09-27 22:44:56 UTC (rev 80261)
+++ zope.app.authentication/trunk/buildout.cfg	2007-09-27 23:47:04 UTC (rev 80262)
@@ -1,7 +1,6 @@
 [buildout]
 develop = .
 parts = test
-find-links = http://download.zope.org/distribution/
 
 [test]
 recipe = zc.recipe.testrunner

Modified: zope.app.authentication/trunk/setup.py
===================================================================
--- zope.app.authentication/trunk/setup.py	2007-09-27 22:44:56 UTC (rev 80261)
+++ zope.app.authentication/trunk/setup.py	2007-09-27 23:47:04 UTC (rev 80262)
@@ -15,19 +15,42 @@
 
 $Id$
 """
-
 import os
+from setuptools import setup, find_packages
 
-from setuptools import setup, find_packages, Extension
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup(name='zope.app.authentication',
-      version = '3.4.0b2',
-      url='http://svn.zope.org/zope.app.authentication',
-      license='ZPL 2.1',
+      version = '3.4.0',
       author='Zope Corporation and Contributors',
       author_email='zope3-dev at zope.org',
-	  packages=find_packages('src'),
-	  package_dir = {'': 'src'},
+      description='Pluggable Authentication Utility',
+      long_description=(
+        read('README.txt')
+        + '\n\n' +
+        'Detailed Documentation\n' +
+        '======================\n'
+        + '\n' +
+        read('src', 'zope', 'app', 'authentication', 'README.txt')
+        + '\n\n' +
+        read('CHANGES.txt')
+        ),
+      url='http://cheeseshop.python.org/pypi/zope.app.authentication',
+      license='ZPL 2.1',
+      classifiers = [
+          'Development Status :: 5 - Production/Stable',
+          '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',
+          'Framework :: Zope3'],
+      keywords='zope3 authentication pluggable principal group',
+      packages=find_packages('src'),
+      package_dir = {'': 'src'},
       extras_require=dict(test=['zope.app.testing',
                                 'zope.app.securitypolicy',
                                 'zope.app.zcmlfiles',
@@ -54,6 +77,5 @@
                         'ZODB3',
                         ],
       include_package_data = True,
-
       zip_safe = False,
       )


Property changes on: zope.app.authentication/trunk/src
___________________________________________________________________
Name: svn:ignore
   + zope.app.authentication.egg-info



Modified: zope.app.authentication/trunk/src/zope/app/authentication/session.py
===================================================================
--- zope.app.authentication/trunk/src/zope/app/authentication/session.py	2007-09-27 22:44:56 UTC (rev 80261)
+++ zope.app.authentication/trunk/src/zope/app/authentication/session.py	2007-09-27 23:47:04 UTC (rev 80262)
@@ -186,7 +186,7 @@
         """Extracts credentials from a session if they exist."""
         if not IHTTPRequest.providedBy(request):
             return None
-        session = ISession(request, None)
+        session = ISession(request)
         sessionData = session.get(
             'zope.app.authentication.browserplugins')
         login = request.get(self.loginfield, None)



More information about the Checkins mailing list