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 2627051
Showing
40 changed files
with
4,340 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,8 @@ | ||
======= | ||
CHANGES | ||
======= | ||
|
||
Version 0.5.0 (unreleased) | ||
------------------------- | ||
|
||
- Initial Release |
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,6 @@ | ||
This package provides an IAuthentication implementation for Zope3. Note that | ||
this implementation is independent of zope.app.authentication and it doesn't | ||
depend on that package. This means it doesn't even use the credential or | ||
authentication plugins offered from zope.app.authentication package. | ||
I only recommend using this package if you need to implement own authentication | ||
concepts and you don't like to use zope.app.authentication as dependency. |
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,52 @@ | ||
############################################################################## | ||
# | ||
# 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. | ||
# | ||
############################################################################## | ||
"""Bootstrap a buildout-based project | ||
Simply run this script in a directory containing a buildout.cfg. | ||
The script accepts buildout command-line options, so you can | ||
use the -c option to specify an alternate configuration file. | ||
$Id: bootstrap.py 75940 2007-05-24 14:45:00Z srichter $ | ||
""" | ||
|
||
import os, shutil, sys, tempfile, urllib2 | ||
|
||
tmpeggs = tempfile.mkdtemp() | ||
|
||
ez = {} | ||
exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' | ||
).read() in ez | ||
ez['use_setuptools'](to_dir=tmpeggs, download_delay=0) | ||
|
||
import pkg_resources | ||
|
||
cmd = 'from setuptools.command.easy_install import main; main()' | ||
if sys.platform == 'win32': | ||
cmd = '"%s"' % cmd # work around spawn lamosity on windows | ||
|
||
ws = pkg_resources.working_set | ||
assert os.spawnle( | ||
os.P_WAIT, sys.executable, sys.executable, | ||
'-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout', | ||
dict(os.environ, | ||
PYTHONPATH= | ||
ws.find(pkg_resources.Requirement.parse('setuptools')).location | ||
), | ||
) == 0 | ||
|
||
ws.add_entry(tmpeggs) | ||
ws.require('zc.buildout') | ||
import zc.buildout.buildout | ||
zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap']) | ||
shutil.rmtree(tmpeggs) |
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,18 @@ | ||
[buildout] | ||
develop = . | ||
externals/z3c.contents | ||
externals/z3c.table | ||
|
||
parts = test checker coverage | ||
|
||
[test] | ||
recipe = zc.recipe.testrunner | ||
eggs = z3c.authenticator [test] | ||
|
||
[checker] | ||
recipe = lovely.recipe:importchecker | ||
path = src/z3c/authenticator | ||
|
||
[coverage] | ||
recipe = zc.recipe.egg | ||
eggs = z3c.coverage |
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,86 @@ | ||
############################################################################## | ||
# | ||
# Copyright (c) 2007 Zope Foundation 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 | ||
$Id:$ | ||
""" | ||
import os | ||
from setuptools import setup, find_packages | ||
|
||
def read(*rnames): | ||
return open(os.path.join(os.path.dirname(__file__), *rnames)).read() | ||
|
||
setup ( | ||
name='z3c.authenticator', | ||
version='0.5.0dev', | ||
author = "Roger Ineichen and the Zope Community", | ||
author_email = "zope3-dev@zope.org", | ||
description = "IAuthentication implementation for for Zope3", | ||
long_description=( | ||
read('README.txt') | ||
+ '\n\n' + | ||
read('CHANGES.txt') | ||
), | ||
license = "ZPL 2.1", | ||
keywords = "zope3 z3c json rpc tree", | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'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/z3c.authenticator', | ||
packages = find_packages('src'), | ||
include_package_data = True, | ||
package_dir = {'':'src'}, | ||
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.testbrowser', | ||
], | ||
), | ||
install_requires = [ | ||
'setuptools', | ||
'z3c.i18n', | ||
'z3c.template', | ||
'z3c.contents', | ||
'z3c.table', | ||
'z3c.form', | ||
'z3c.formui', | ||
'zope.app.component', | ||
'zope.app.container', | ||
'zope.component', | ||
'zope.interface', | ||
'zope.proxy', | ||
'zope.publisher', | ||
'zope.security', | ||
'zope.traversing', | ||
'zope.viewlet', | ||
|
||
], | ||
zip_safe = False, | ||
) |
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__) |
Oops, something went wrong.