[Checkins] SVN: zope.app.security/trunk/ Get ready for release.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Oct 27 16:42:22 EDT 2007
Log message for revision 81147:
Get ready for release.
Changed:
A zope.app.security/trunk/CHANGES.txt
A zope.app.security/trunk/README.txt
U zope.app.security/trunk/buildout.cfg
U zope.app.security/trunk/setup.py
_U zope.app.security/trunk/src/
U zope.app.security/trunk/src/zope/app/security/browser/authutilitysearchview.txt
U zope.app.security/trunk/src/zope/app/security/browser/principalterms.txt
U zope.app.security/trunk/src/zope/app/security/globalprincipals.txt
U zope.app.security/trunk/src/zope/app/security/logout.txt
-=-
Added: zope.app.security/trunk/CHANGES.txt
===================================================================
--- zope.app.security/trunk/CHANGES.txt (rev 0)
+++ zope.app.security/trunk/CHANGES.txt 2007-10-27 20:42:22 UTC (rev 81147)
@@ -0,0 +1,8 @@
+=======
+CHANGES
+=======
+
+3.4.0 (2007-10-27)
+------------------
+
+- Initial release independent of the main Zope tree.
Property changes on: zope.app.security/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: zope.app.security/trunk/README.txt
===================================================================
--- zope.app.security/trunk/README.txt (rev 0)
+++ zope.app.security/trunk/README.txt 2007-10-27 20:42:22 UTC (rev 81147)
@@ -0,0 +1,2 @@
+This package provides several components integrating the Zope security
+implementation into zope 3 applications.
Property changes on: zope.app.security/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: zope.app.security/trunk/buildout.cfg
===================================================================
--- zope.app.security/trunk/buildout.cfg 2007-10-27 19:55:31 UTC (rev 81146)
+++ zope.app.security/trunk/buildout.cfg 2007-10-27 20:42:22 UTC (rev 81147)
@@ -1,7 +1,6 @@
[buildout]
-develop = .
+develop = .
parts = test
-find-links = http://download.zope.org/distribution/
[test]
recipe = zc.recipe.testrunner
Modified: zope.app.security/trunk/setup.py
===================================================================
--- zope.app.security/trunk/setup.py 2007-10-27 19:55:31 UTC (rev 81146)
+++ zope.app.security/trunk/setup.py 2007-10-27 20:42:22 UTC (rev 81147)
@@ -15,21 +15,54 @@
$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.security',
- version = '3.4.0b1',
- url='http://svn.zope.org/zope.app.security',
- 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='Security Components for Zope 3 Applications',
+ long_description=(
+ read('README.txt')
+ + '\n\n' +
+ 'Detailed Dcoumentation\n' +
+ '======================\n'
+ + '\n\n' +
+ read('src', 'zope', 'app', 'security', 'globalprincipals.txt')
+ + '\n\n' +
+ read('src', 'zope', 'app', 'security', 'logout.txt')
+ + '\n\n' +
+ read('src', 'zope', 'app', 'security', 'browser',
+ 'authutilitysearchview.txt')
+ + '\n\n' +
+ read('src', 'zope', 'app', 'security', 'browser', 'loginlogout.txt')
+ + '\n\n' +
+ read('src', 'zope', 'app', 'security', 'browser',
+ 'principalterms.txt')
+ + '\n\n' +
+ read('CHANGES.txt')
+ ),
+ keywords = "zope3 security authentication principal ftp http",
+ 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'],
+ url='http://cheeseshop.python.org/pypi/zope.app.security',
+ license='ZPL 2.1',
+ packages=find_packages('src'),
+ package_dir = {'': 'src'},
+ namespace_packages=['zope', 'zope.app'],
extras_require=dict(test=['zope.app.testing']),
- namespace_packages=['zope', 'zope.app'],
install_requires=['setuptools',
'zope.app.authentication',
'zope.app.component',
@@ -51,6 +84,5 @@
'ZODB3',
],
include_package_data = True,
-
zip_safe = False,
)
Property changes on: zope.app.security/trunk/src
___________________________________________________________________
Name: svn:ignore
+ zope.app.security.egg-info
Modified: zope.app.security/trunk/src/zope/app/security/browser/authutilitysearchview.txt
===================================================================
--- zope.app.security/trunk/src/zope/app/security/browser/authutilitysearchview.txt 2007-10-27 19:55:31 UTC (rev 81146)
+++ zope.app.security/trunk/src/zope/app/security/browser/authutilitysearchview.txt 2007-10-27 20:42:22 UTC (rev 81147)
@@ -1,3 +1,4 @@
+===========================================
The Query View for Authentication Utilities
===========================================
@@ -6,11 +7,11 @@
`getPrincipals(name)` method:
>>> class Principal:
- ... def __init__(self, id):
+ ... def __init__(self, id):
... self.id = id
>>> class MyAuthUtility:
- ... data = {'jim': Principal(42), 'don': Principal(0),
+ ... data = {'jim': Principal(42), 'don': Principal(0),
... 'stephan': Principal(1)}
...
... def getPrincipals(self, name):
Modified: zope.app.security/trunk/src/zope/app/security/browser/principalterms.txt
===================================================================
--- zope.app.security/trunk/src/zope/app/security/browser/principalterms.txt 2007-10-27 19:55:31 UTC (rev 81146)
+++ zope.app.security/trunk/src/zope/app/security/browser/principalterms.txt 2007-10-27 20:42:22 UTC (rev 81147)
@@ -1,3 +1,4 @@
+===============
Principal Terms
===============
@@ -45,7 +46,7 @@
>>> from zope.app.security.browser.principalterms import PrincipalTerms
>>> terms = PrincipalTerms(PrincipalSource(), None)
-
+
Now we can ask the terms view for terms:
>>> term = terms.getTerm('stephan')
Modified: zope.app.security/trunk/src/zope/app/security/globalprincipals.txt
===================================================================
--- zope.app.security/trunk/src/zope/app/security/globalprincipals.txt 2007-10-27 19:55:31 UTC (rev 81146)
+++ zope.app.security/trunk/src/zope/app/security/globalprincipals.txt 2007-10-27 20:42:22 UTC (rev 81147)
@@ -1,3 +1,4 @@
+===========================
Global principal definition
===========================
@@ -2,3 +3,3 @@
Global principals are defined via ZCML. There are several kinds of
-principals that can be defined.
+principals that can be defined.
@@ -10,7 +11,7 @@
There are principals that can log in:
>>> zcml("""
- ... <configure
+ ... <configure
... xmlns="http://namespaces.zope.org/zope"
... >
...
@@ -37,7 +38,7 @@
There is the unauthenticated principal:
>>> zcml("""
- ... <configure
+ ... <configure
... xmlns="http://namespaces.zope.org/zope"
... >
...
@@ -71,7 +72,7 @@
An unauthenticated group can also be defined in ZCML:
>>> zcml("""
- ... <configure
+ ... <configure
... xmlns="http://namespaces.zope.org/zope"
... >
...
@@ -106,7 +107,7 @@
>>> reset()
>>> zcml("""
- ... <configure
+ ... <configure
... xmlns="http://namespaces.zope.org/zope"
... >
...
@@ -150,7 +151,7 @@
>>> reset()
>>> zcml("""
- ... <configure
+ ... <configure
... xmlns="http://namespaces.zope.org/zope"
... >
...
@@ -216,7 +217,7 @@
>>> reset()
>>> zcml("""
- ... <configure
+ ... <configure
... xmlns="http://namespaces.zope.org/zope"
... >
...
Modified: zope.app.security/trunk/src/zope/app/security/logout.txt
===================================================================
--- zope.app.security/trunk/src/zope/app/security/logout.txt 2007-10-27 19:55:31 UTC (rev 81146)
+++ zope.app.security/trunk/src/zope/app/security/logout.txt 2007-10-27 20:42:22 UTC (rev 81147)
@@ -41,7 +41,7 @@
The 'NoLogout' Adapter
-======================
+----------------------
The class:
@@ -55,7 +55,7 @@
Logout User Interface
-=====================
+---------------------
Because some authentication protocols do not formally support logout, it may
not be possible for a user to logout once he or she has logged in. In such
More information about the Checkins
mailing list