Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b8114c3
Showing
8 changed files
with
250 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Changes | ||
======= | ||
|
||
1.0 (unreleased) | ||
---------------- | ||
|
||
* Created ``grokcore.Annotation`` by factoring annotation components, | ||
grokkers and directives out of Grok. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Copyright (c) 2006-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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Zope Public License (ZPL) Version 2.1 | ||
------------------------------------- | ||
|
||
A copyright notice accompanies this license document that | ||
identifies the copyright holders. | ||
|
||
This license has been certified as open source. It has also | ||
been designated as GPL compatible by the Free Software | ||
Foundation (FSF). | ||
|
||
Redistribution and use in source and binary forms, with or | ||
without modification, are permitted provided that the | ||
following conditions are met: | ||
|
||
1. Redistributions in source code must retain the | ||
accompanying copyright notice, this list of conditions, | ||
and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the accompanying | ||
copyright notice, this list of conditions, and the | ||
following disclaimer in the documentation and/or other | ||
materials provided with the distribution. | ||
|
||
3. Names of the copyright holders must not be used to | ||
endorse or promote products derived from this software | ||
without prior written permission from the copyright | ||
holders. | ||
|
||
4. The right to distribute this software or to use it for | ||
any purpose does not give you the right to use | ||
Servicemarks (sm) or Trademarks (tm) of the copyright | ||
holders. Use of them is covered by separate agreement | ||
with the copyright holders. | ||
|
||
5. If any files are modified, you must cause the modified | ||
files to carry prominent notices stating that you changed | ||
the files and the date of any change. | ||
|
||
Disclaimer | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' | ||
AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT | ||
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN | ||
NO EVENT SHALL THE COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | ||
DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FIXME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[buildout] | ||
develop = . | ||
parts = interpreter test | ||
extends = versions.cfg | ||
versions = versions | ||
|
||
[interpreter] | ||
recipe = zc.recipe.egg | ||
eggs = grokcore.annotation | ||
interpreter = python | ||
|
||
[test] | ||
recipe = zc.recipe.testrunner | ||
eggs = grokcore.annotation | ||
defaults = ['--tests-pattern', '^f?tests$', '-v'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
from setuptools import setup, find_packages | ||
import os | ||
|
||
def read(*rnames): | ||
return open(os.path.join(os.path.dirname(__file__), *rnames)).read() | ||
|
||
long_description = ( | ||
read('README.txt') | ||
+ '\n' + | ||
read('CHANGES.txt') | ||
) | ||
|
||
setup( | ||
name='grokcore.annotation', | ||
version='1.0dev', | ||
author='Grok Team', | ||
author_email='grok-dev@zope.org', | ||
url='http://grok.zope.org', | ||
download_url='http://pypi.python.org/pypi/grokcore.annotation', | ||
description='Grok-like configuration for Zope annotations', | ||
long_description=long_description, | ||
license='ZPL', | ||
classifiers=['Environment :: Web Environment', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Zope Public License', | ||
'Programming Language :: Python', | ||
'Framework :: Zope3', | ||
], | ||
|
||
packages=find_packages('src'), | ||
package_dir={'': 'src'}, | ||
namespace_packages=['grokcore'], | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=['setuptools', | ||
'martian', | ||
'zope.component', | ||
'zope.interface', | ||
'grokcore.component', | ||
# for ftests: | ||
'zope.app.zcmlfiles', | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# this is a namespace package | ||
try: | ||
import pkg_resources | ||
pkg_resources.declare_namespace(__name__) | ||
except ImportError: | ||
import pkgutil | ||
__path__ = pkgutil.extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
[versions] | ||
ClientForm = 0.2.9 | ||
docutils = 0.4 | ||
grokcore.component = 1.6 | ||
grokcore.formlib = 1.1 | ||
grokcore.security = 1.0 | ||
grokcore.view = 1.7 | ||
grokcore.viewlet = 1.0 | ||
grokui.admin = 0.3.2 | ||
martian = 0.11 | ||
mechanize = 0.1.7b | ||
Pygments = 0.8.1 | ||
pytz = 2007k | ||
RestrictedPython = 3.4.2 | ||
simplejson = 1.7.1 | ||
z3c.autoinclude = 0.2.2 | ||
z3c.flashmessage = 1.0 | ||
z3c.testsetup = 0.2.1 | ||
zc.catalog = 1.2.0 | ||
ZConfig = 2.5.1 | ||
zc.recipe.testrunner = 1.0.0 | ||
zdaemon = 2.0.2 | ||
ZODB3 = 3.8.1 | ||
zodbcode = 3.4.0 | ||
zope.annotation = 3.4.1 | ||
zope.app.apidoc = 3.4.3 | ||
zope.app.applicationcontrol = 3.4.3 | ||
zope.app.appsetup = 3.4.1 | ||
zope.app.authentication = 3.4.4 | ||
zope.app.basicskin = 3.4.0 | ||
zope.app.broken = 3.4.0 | ||
zope.app.catalog = 3.5.1 | ||
zope.app.component = 3.4.1 | ||
zope.app.container = 3.5.6 | ||
zope.app.content = 3.4.0 | ||
zope.app.debug = 3.4.1 | ||
zope.app.dependable = 3.4.0 | ||
zope.app.error = 3.5.1 | ||
zope.app.exception = 3.4.1 | ||
zope.app.file = 3.4.4 | ||
zope.app.folder = 3.4.0 | ||
zope.app.form = 3.4.1 | ||
zope.app.generations = 3.4.1 | ||
zope.app.http = 3.4.1 | ||
zope.app.i18n = 3.4.4 | ||
zope.app.interface = 3.4.0 | ||
zope.app.intid = 3.4.1 | ||
zope.app.keyreference = 3.4.1 | ||
zope.app.locales = 3.4.5 | ||
zope.app.onlinehelp = 3.4.1 | ||
zope.app.pagetemplate = 3.4.1 | ||
zope.app.preference = 3.4.1 | ||
zope.app.principalannotation = 3.4.0 | ||
zope.app.publication = 3.4.3 | ||
zope.app.publisher = 3.5.1 | ||
zope.app.renderer = 3.4.0 | ||
zope.app.rotterdam = 3.4.1 | ||
zope.app.schema = 3.4.0 | ||
zope.app.security = 3.5.2 | ||
zope.app.securitypolicy = 3.4.6 | ||
zope.app.server = 3.4.2 | ||
zope.app.session = 3.5.1 | ||
zope.app.skins = 3.4.0 | ||
zope.app.testing = 3.4.3 | ||
zope.app.tree = 3.4.0 | ||
zope.app.twisted = 3.4.1 | ||
zope.app.wsgi = 3.4.1 | ||
zope.app.zapi = 3.4.0 | ||
zope.app.zcmlfiles = 3.4.3 | ||
zope.app.zopeappgenerations = 3.4.0 | ||
zope.cachedescriptors = 3.4.1 | ||
zope.component = 3.4.0 | ||
zope.configuration = 3.4.0 | ||
zope.contentprovider = 3.4.0 | ||
zope.contenttype = 3.4.0 | ||
zope.copypastemove = 3.4.0 | ||
zope.datetime = 3.4.0 | ||
zope.deferredimport = 3.4.0 | ||
zope.deprecation = 3.4.0 | ||
zope.dottedname = 3.4.2 | ||
zope.dublincore = 3.4.0 | ||
zope.error = 3.5.1 | ||
zope.event = 3.4.0 | ||
zope.exceptions = 3.4.0 | ||
zope.filerepresentation = 3.4.0 | ||
zope.formlib = 3.4.0 | ||
zope.hookable = 3.4.0 | ||
zope.i18n = 3.4.0 | ||
zope.i18nmessageid = 3.4.3 | ||
zope.index = 3.4.1 | ||
zope.interface = 3.4.1 | ||
zope.lifecycleevent = 3.4.0 | ||
zope.location = 3.4.0 | ||
zope.minmax = 1.1.0 | ||
zope.modulealias = 3.4.0 | ||
zope.pagetemplate = 3.4.0 | ||
zope.proxy = 3.4.2 | ||
zope.publisher = 3.4.6 | ||
zope.schema = 3.4.0 | ||
zope.security = 3.4.1 | ||
zope.securitypolicy = 3.4.1 | ||
zope.server = 3.4.3 | ||
zope.session = 3.4.1 | ||
zope.size = 3.4.0 | ||
zope.structuredtext = 3.4.0 | ||
zope.tal = 3.4.1 | ||
zope.tales = 3.4.0 | ||
zope.testbrowser = 3.4.2 | ||
zope.testing = 3.6.0 | ||
zope.thread = 3.4 | ||
zope.traversing = 3.4.1 | ||
zope.viewlet = 3.4.2 |