[Checkins] SVN: zope.app.homefolder/trunk/ Get ready for release.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Nov 4 16:26:55 EST 2007
Log message for revision 81491:
Get ready for release.
Changed:
A zope.app.homefolder/trunk/CHANGES.txt
A zope.app.homefolder/trunk/README.txt
U zope.app.homefolder/trunk/buildout.cfg
U zope.app.homefolder/trunk/setup.py
_U zope.app.homefolder/trunk/src/
U zope.app.homefolder/trunk/src/zope/app/homefolder/README.txt
U zope.app.homefolder/trunk/src/zope/app/homefolder/homefolder.py
U zope.app.homefolder/trunk/src/zope/app/homefolder/tests.py
-=-
Added: zope.app.homefolder/trunk/CHANGES.txt
===================================================================
--- zope.app.homefolder/trunk/CHANGES.txt (rev 0)
+++ zope.app.homefolder/trunk/CHANGES.txt 2007-11-04 21:26:55 UTC (rev 81491)
@@ -0,0 +1,8 @@
+=======
+CHANGES
+=======
+
+3.4.0 (2007-11-03)
+------------------
+
+- Initial release independent of the main Zope tree.
Property changes on: zope.app.homefolder/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: zope.app.homefolder/trunk/README.txt
===================================================================
--- zope.app.homefolder/trunk/README.txt (rev 0)
+++ zope.app.homefolder/trunk/README.txt 2007-11-04 21:26:55 UTC (rev 81491)
@@ -0,0 +1,6 @@
+The principal home folder subscriber lets you assign home folders to
+principals as you would do in any OS. This particular implementation of such a
+feature is intended as a demo of the power of the way to handle principals
+and not as the holy grail. If you have concerns about the assumptions made in
+this implementation (which are probably legitimate), just ignore this package
+altogether.
Property changes on: zope.app.homefolder/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: zope.app.homefolder/trunk/buildout.cfg
===================================================================
--- zope.app.homefolder/trunk/buildout.cfg 2007-11-04 20:45:28 UTC (rev 81490)
+++ zope.app.homefolder/trunk/buildout.cfg 2007-11-04 21:26:55 UTC (rev 81491)
@@ -1,7 +1,6 @@
[buildout]
develop = .
parts = test
-find-links = http://download.zope.org/distribution/
[test]
recipe = zc.recipe.testrunner
Modified: zope.app.homefolder/trunk/setup.py
===================================================================
--- zope.app.homefolder/trunk/setup.py 2007-11-04 20:45:28 UTC (rev 81490)
+++ zope.app.homefolder/trunk/setup.py 2007-11-04 21:26:55 UTC (rev 81491)
@@ -1,39 +1,79 @@
-from setuptools import find_packages, setup
+##############################################################################
+#
+# Copyright (c) 2007 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 zope.app.homefolder package
-setup(
- name="zope.app.homefolder",
- version="3.4.0b1",
- url="http://svn.zope.org/zope.app.homefolder/",
- license="ZPL 2.1",
- author="Zope Community",
- author_email="zope3-dev at zope.org",
- packages=find_packages("src"),
- namespace_packages=["zope", "zope.app"],
- package_dir={"": "src"},
- include_package_data=True,
- zip_safe=False,
- install_requires=[
- "setuptools",
- "ZODB3",
- "zope.app.container",
- "zope.app.form",
- "zope.app.security",
- "zope.app.zapi",
- "zope.i18nmessageid",
- "zope.dottedname",
- "zope.interface",
- "zope.schema",
- "zope.security",
- "zope.traversing",
- ],
- extras_require={
- "test": [
- "zope.annotation",
- "zope.app.file",
- "zope.app.folder",
- "zope.app.securitypolicy",
- "zope.app.testing",
- "zope.testing",
- ],
- },
- )
+$Id: setup.py 81038 2007-10-24 14:34:17Z srichter $
+"""
+import os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+setup(name='zope.app.homefolder',
+ version = '3.4.0',
+ author='Zope Corporation and Contributors',
+ author_email='zope3-dev at zope.org',
+ description='User Home Folders',
+ long_description=(
+ read('README.txt')
+ + '\n\n' +
+ 'Detailed Dcoumentation\n' +
+ '======================\n'
+ + '\n\n' +
+ read('src', 'zope', 'app', 'homefolder', 'README.txt')
+ + '\n\n' +
+ read('CHANGES.txt')
+ ),
+ keywords = "zope3 homefolder principal",
+ 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.homefolder',
+ license='ZPL 2.1',
+ packages=find_packages('src'),
+ package_dir = {'': 'src'},
+ namespace_packages=['zope', 'zope.app'],
+ extras_require=dict(
+ test=["zope.annotation",
+ "zope.app.file",
+ "zope.app.folder",
+ "zope.app.securitypolicy",
+ "zope.app.testing",
+ "zope.testing",
+ ]),
+ install_requires=[
+ "setuptools",
+ "ZODB3",
+ "zope.app.container",
+ "zope.app.form",
+ "zope.app.security",
+ "zope.app.zapi",
+ "zope.i18nmessageid",
+ "zope.dottedname",
+ "zope.interface",
+ "zope.schema",
+ "zope.security",
+ "zope.traversing",
+ ],
+ include_package_data = True,
+ zip_safe = False,
+ )
Property changes on: zope.app.homefolder/trunk/src
___________________________________________________________________
Name: svn:ignore
+ zope.app.homefolder.egg-info
Modified: zope.app.homefolder/trunk/src/zope/app/homefolder/README.txt
===================================================================
--- zope.app.homefolder/trunk/src/zope/app/homefolder/README.txt 2007-11-04 20:45:28 UTC (rev 81490)
+++ zope.app.homefolder/trunk/src/zope/app/homefolder/README.txt 2007-11-04 21:26:55 UTC (rev 81491)
@@ -46,7 +46,7 @@
When creating the home folder, the principal also automatically receives the
`zope.Manager` role:
- >>> from zope.app.securitypolicy.interfaces import IPrincipalRoleManager
+ >>> from zope.securitypolicy.interfaces import IPrincipalRoleManager
>>> roles = IPrincipalRoleManager(baseFolder['stephan'])
>>> [(role, str(setting))
... for role, setting in roles.getRolesForPrincipal('stephan')]
Modified: zope.app.homefolder/trunk/src/zope/app/homefolder/homefolder.py
===================================================================
--- zope.app.homefolder/trunk/src/zope/app/homefolder/homefolder.py 2007-11-04 20:45:28 UTC (rev 81490)
+++ zope.app.homefolder/trunk/src/zope/app/homefolder/homefolder.py 2007-11-04 21:26:55 UTC (rev 81491)
@@ -22,8 +22,8 @@
from zope.interface import implements
from zope import component
+from zope.securitypolicy.interfaces import IPrincipalRoleManager
from zope.app.container.contained import Contained
-from zope.app.securitypolicy.interfaces import IPrincipalRoleManager
from zope.dottedname.resolve import resolve
from zope.app.homefolder.interfaces import IHomeFolder, IHomeFolderManager
Modified: zope.app.homefolder/trunk/src/zope/app/homefolder/tests.py
===================================================================
--- zope.app.homefolder/trunk/src/zope/app/homefolder/tests.py 2007-11-04 20:45:28 UTC (rev 81490)
+++ zope.app.homefolder/trunk/src/zope/app/homefolder/tests.py 2007-11-04 21:26:55 UTC (rev 81491)
@@ -18,17 +18,17 @@
__docformat__ = "reStructuredText"
import unittest
+from zope.annotation.interfaces import IAnnotatable
+from zope.annotation.interfaces import IAttributeAnnotatable
from zope.interface import classImplements
from zope.security.interfaces import IPrincipal
-from zope.traversing.interfaces import IPathAdapter
+from zope.securitypolicy.interfaces import IPrincipalRoleManager
+from zope.securitypolicy.principalrole import AnnotationPrincipalRoleManager
+from zope.traversing.interfaces import IPathAdapter
from zope.testing import doctest
-from zope.annotation.interfaces import IAnnotatable
-from zope.annotation.interfaces import IAttributeAnnotatable
from zope.app.testing import placelesssetup, setup, ztapi
from zope.app.file import File
-from zope.app.securitypolicy.interfaces import IPrincipalRoleManager
-from zope.app.securitypolicy.principalrole import AnnotationPrincipalRoleManager
from zope.app.homefolder.homefolder import HomeFolder, getHomeFolder
from zope.app.homefolder.interfaces import IHomeFolder
@@ -38,7 +38,7 @@
from zope.security.checker import InterfaceChecker, defineChecker
def homeFolderSetUp(test):
- placelesssetup.setUp()
+ placelesssetup.setUp()
setup.setUpAnnotations()
setup.setUpTraversal()
@@ -51,11 +51,11 @@
ztapi.provideAdapter(IPrincipal, IPathAdapter,
getHomeFolder,
name="homefolder")
-
+
testChecker = InterfaceChecker(IFolder)
defineChecker(Folder, testChecker)
-
+
def test_suite():
return unittest.TestSuite((
doctest.DocFileSuite('README.txt',
More information about the Checkins
mailing list