[Checkins] SVN: z3c.authenticator/trunk/ Cleanup imports and adjust dependencies

Roger Ineichen roger at projekt01.ch
Wed Apr 16 00:14:51 EDT 2008


Log message for revision 85424:
  Cleanup imports and adjust dependencies

Changed:
  U   z3c.authenticator/trunk/CHANGES.txt
  U   z3c.authenticator/trunk/setup.py
  U   z3c.authenticator/trunk/src/z3c/authenticator/authentication.py
  U   z3c.authenticator/trunk/src/z3c/authenticator/browser/authenticator.py
  U   z3c.authenticator/trunk/src/z3c/authenticator/browser/group.py
  U   z3c.authenticator/trunk/src/z3c/authenticator/browser/login.py
  U   z3c.authenticator/trunk/src/z3c/authenticator/browser/user.py
  U   z3c.authenticator/trunk/src/z3c/authenticator/credential.py
  U   z3c.authenticator/trunk/src/z3c/authenticator/testing.py
  U   z3c.authenticator/trunk/src/z3c/authenticator/widget.py

-=-
Modified: z3c.authenticator/trunk/CHANGES.txt
===================================================================
--- z3c.authenticator/trunk/CHANGES.txt	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/CHANGES.txt	2008-04-16 04:14:50 UTC (rev 85424)
@@ -2,10 +2,10 @@
 CHANGES
 =======
 
-Version 0.5.1dev (unreleased)
------------------------------
+Version 0.5.1 (2008-04-16)
+--------------------------
 
-- ...
+- Cleanup imports and adjust dependencies
 
 Version 0.5.0 (2008-04-16)
 --------------------------

Modified: z3c.authenticator/trunk/setup.py
===================================================================
--- z3c.authenticator/trunk/setup.py	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/setup.py	2008-04-16 04:14:50 UTC (rev 85424)
@@ -23,7 +23,7 @@
 
 setup (
     name='z3c.authenticator',
-    version='0.5.1dev',
+    version='0.5.1',
     author = "Roger Ineichen and the Zope Community",
     author_email = "zope3-dev at zope.org",
     description = "IAuthentication implementation for for Zope3",
@@ -51,35 +51,37 @@
     namespace_packages = ['z3c'],
     extras_require = dict(
         test = [
-            'z3c.template',
             'z3c.testing',
-            'zope.app.publication',
-            'zope.app.publisher',
-            'zope.app.security',
             'zope.app.testing',
-            'zope.configuration',
-            'zope.pagetemplate',
             'zope.publisher',
+            'zope.session',
+            'zope.testing',
             'zope.testbrowser',
             ],
         ),
     install_requires = [
         'setuptools',
+        'z3c.configurator',
+        'z3c.form',
+        'z3c.formui',
         'z3c.i18n',
         'z3c.template',
         'z3c.contents',
-        'z3c.table',
-        'z3c.form',
-        'z3c.formui',
         'zope.app.component',
-        'zope.app.container',
+        'zope.app.generations',
+        'zope.app.security',
         'zope.component',
+        'zope.dublincore',
+        'zope.event',
+        'zope.i18n',
         'zope.interface',
-        'zope.proxy',
+        'zope.lifecycleevent',
+        'zope.location',
         'zope.publisher',
+        'zope.schema',
         'zope.security',
+        'zope.session',
         'zope.traversing',
-        'zope.viewlet',
 
         ],
     zip_safe = False,

Modified: z3c.authenticator/trunk/src/z3c/authenticator/authentication.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/authentication.py	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/src/z3c/authenticator/authentication.py	2008-04-16 04:14:50 UTC (rev 85424)
@@ -20,7 +20,6 @@
 import zope.component
 import zope.event
 from zope.schema.interfaces import ISourceQueriables
-from zope.location.interfaces import ILocation
 
 from zope.app.component import queryNextUtility
 from zope.app.container import btree

Modified: z3c.authenticator/trunk/src/z3c/authenticator/browser/authenticator.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/browser/authenticator.py	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/src/z3c/authenticator/browser/authenticator.py	2008-04-16 04:14:50 UTC (rev 85424)
@@ -17,7 +17,6 @@
 __docformat__ = "reStructuredText"
 
 import zope.interface
-import zope.component
 import zope.event
 import zope.lifecycleevent
 from zope.traversing.browser import absoluteURL
@@ -30,7 +29,6 @@
 from z3c.form import field
 from z3c.form import button
 from z3c.formui import form
-from z3c.pagelet import browser
 from z3c.configurator import configurator
 
 

Modified: z3c.authenticator/trunk/src/z3c/authenticator/browser/group.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/browser/group.py	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/src/z3c/authenticator/browser/group.py	2008-04-16 04:14:50 UTC (rev 85424)
@@ -17,7 +17,6 @@
 __docformat__ = "reStructuredText"
 
 import zope.interface
-import zope.component
 import zope.event
 import zope.lifecycleevent
 from zope.traversing.browser import absoluteURL
@@ -31,7 +30,6 @@
 from z3c.form import field
 from z3c.form import button
 from z3c.formui import form
-from z3c.pagelet import browser
 from z3c.configurator import configurator
 
 

Modified: z3c.authenticator/trunk/src/z3c/authenticator/browser/login.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/browser/login.py	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/src/z3c/authenticator/browser/login.py	2008-04-16 04:14:50 UTC (rev 85424)
@@ -9,18 +9,10 @@
 """
 __docformat__ = "reStructuredText"
 
-from urllib import urlencode
-from urllib import quote
-import zope.interface
 import zope.component
-import zope.schema
-from zope.interface import invariant
-from zope.interface import Invalid
 from zope.publisher.browser import BrowserPage
 from zope.traversing.browser import absoluteURL
-from zope.security.proxy import removeSecurityProxy
 from zope.app.component import hooks
-from zope.app.pagetemplate import ViewPageTemplateFile
 from zope.app.security.interfaces import IUnauthenticatedPrincipal
 from zope.app.security.interfaces import IAuthentication
 from zope.app.security.interfaces import ILogout
@@ -30,7 +22,6 @@
 from z3c.form import field
 from z3c.form import button
 from z3c.formui import form
-import z3c.schema.email
 from z3c.template.template import getPageTemplate
 from z3c.template.template import getLayoutTemplate
 

Modified: z3c.authenticator/trunk/src/z3c/authenticator/browser/user.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/browser/user.py	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/src/z3c/authenticator/browser/user.py	2008-04-16 04:14:50 UTC (rev 85424)
@@ -17,7 +17,6 @@
 __docformat__ = "reStructuredText"
 
 import zope.interface
-import zope.component
 import zope.event
 import zope.lifecycleevent
 from zope.traversing.browser import absoluteURL
@@ -30,7 +29,6 @@
 from z3c.form import field
 from z3c.form import button
 from z3c.formui import form
-from z3c.pagelet import browser
 from z3c.configurator import configurator
 
 

Modified: z3c.authenticator/trunk/src/z3c/authenticator/credential.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/credential.py	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/src/z3c/authenticator/credential.py	2008-04-16 04:14:50 UTC (rev 85424)
@@ -22,7 +22,6 @@
 from urllib import urlencode
 
 import zope.interface
-from zope.schema import TextLine
 from zope.publisher.interfaces.http import IHTTPRequest
 from zope.session.interfaces import ISession
 from zope.traversing.browser.absoluteurl import absoluteURL

Modified: z3c.authenticator/trunk/src/z3c/authenticator/testing.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/testing.py	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/src/z3c/authenticator/testing.py	2008-04-16 04:14:50 UTC (rev 85424)
@@ -25,7 +25,6 @@
 from zope.session.interfaces import IClientIdManager
 from zope.session.interfaces import ISession
 from zope.session.interfaces import ISessionDataContainer
-from zope.session.session import ClientId
 from zope.session.session import Session
 from zope.session.session import RAMSessionDataContainer
 from zope.session.http import CookieClientIdManager

Modified: z3c.authenticator/trunk/src/z3c/authenticator/widget.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/widget.py	2008-04-16 03:47:45 UTC (rev 85423)
+++ z3c.authenticator/trunk/src/z3c/authenticator/widget.py	2008-04-16 04:14:50 UTC (rev 85424)
@@ -22,12 +22,10 @@
 import zope.i18n
 import zope.schema
 import zope.schema.interfaces
-import zope.location
 import zope.app.security.interfaces
 from zope.traversing import api
 from zope.location.interfaces import ILocation
 from zope.app.security.interfaces import IAuthentication
-from zope.publisher.interfaces.browser import IBrowserRequest
 from zope.app.security.interfaces import IPrincipalSource
 
 from z3c.formui import form
@@ -37,7 +35,6 @@
 from z3c.form.widget import SequenceWidget, FieldWidget
 from z3c.form.browser import widget
 from z3c.form.browser import text
-from z3c.form.browser.orderedselect import SequenceSelectFieldWidget
 from z3c.form import converter
 from z3c.form.interfaces import IFieldWidget
 from z3c.form.interfaces import IWidget
@@ -46,7 +43,6 @@
 from z3c.form.interfaces import IWidgets
 from z3c.form.interfaces import IFormLayer
 from z3c.form.interfaces import ITerms
-from z3c.template.template import getPageTemplate
 from z3c.template.template import getLayoutTemplate
 from z3c.authenticator import interfaces
 



More information about the Checkins mailing list