[Checkins] SVN: z3c.authentication.simple/trunk/ Improve buildout setup

Roger Ineichen roger at projekt01.ch
Sat Mar 15 21:04:53 EDT 2008


Log message for revision 84693:
  Improve buildout setup
  Added *.egg-info folder to ignore file list

Changed:
  U   z3c.authentication.simple/trunk/buildout.cfg
  D   z3c.authentication.simple/trunk/setup.cfg
  U   z3c.authentication.simple/trunk/setup.py
  _U  z3c.authentication.simple/trunk/src/
  U   z3c.authentication.simple/trunk/src/z3c/authentication/simple/README.txt

-=-
Modified: z3c.authentication.simple/trunk/buildout.cfg
===================================================================
--- z3c.authentication.simple/trunk/buildout.cfg	2008-03-16 00:55:38 UTC (rev 84692)
+++ z3c.authentication.simple/trunk/buildout.cfg	2008-03-16 01:04:53 UTC (rev 84693)
@@ -1,8 +1,19 @@
 [buildout]
 develop = .
-parts = test
-find-links = http://download.zope.org/distribution/
 
+parts = test checker coverage
+
+
 [test]
 recipe = zc.recipe.testrunner
-eggs = z3c.authentication [test]
+eggs = z3c.authentication.simple [test]
+
+
+[checker]
+recipe = lovely.recipe:importchecker
+path = src/z3c/authentication/simple
+
+
+[coverage]
+recipe = zc.recipe.egg
+eggs = z3c.coverage

Deleted: z3c.authentication.simple/trunk/setup.cfg
===================================================================
--- z3c.authentication.simple/trunk/setup.cfg	2008-03-16 00:55:38 UTC (rev 84692)
+++ z3c.authentication.simple/trunk/setup.cfg	2008-03-16 01:04:53 UTC (rev 84693)
@@ -1,3 +0,0 @@
-[egg_info]
-tag_build = .dev
-tag_svn_revision = 1

Modified: z3c.authentication.simple/trunk/setup.py
===================================================================
--- z3c.authentication.simple/trunk/setup.py	2008-03-16 00:55:38 UTC (rev 84692)
+++ z3c.authentication.simple/trunk/setup.py	2008-03-16 01:04:53 UTC (rev 84693)
@@ -1,34 +1,77 @@
-#!python
+##############################################################################
+#
+# 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 z3c.authentication.simple package
+
+$Id:$
+"""
+import os
 from setuptools import setup, find_packages
 
-setup(name='z3c.authentication',
-      version='0.1.0',
-      author = "Zope Community",
-      author_email = "zope3-dev at zope.org",
-      license = "ZPL 2.1",
-      keywords = "authentication zope zope3",
-      url='http://svn.zope.org/z3c.authentication',
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
-      zip_safe=False,
-      packages=find_packages('src'),
-      include_package_data=True,
-      package_dir = {'':'src'},
-      namespace_packages=['z3c',],
-      install_requires=[
-          'setuptools',
-          'zope.component',
-          'zope.configuration',
-          'zope.contentprovider',
-          'zope.i18n',
-          'zope.interface',
-          'zope.publisher',
-          'zope.schema',
-          'zope.app.pagetemplate',
-          'zope.app.container',
-          'z3c.i18n',
-          ],
-      extras_require={
-          'test': ['zope.testing', 'zope.app.testing', 'z3c.configurator'],
-          },
-     )
-
+setup (
+    name='z3c.authentication.simple',
+    version='0.5.0',
+    author = "Roger Ineichen and the Zope Community",
+    author_email = "zope-dev at zope.org",
+    description = "Simple and modular authentication utility for Zope3",
+    long_description=(
+        read('README.txt')
+        + '\n\n' +
+        read('CHANGES.txt')
+        ),
+    license = "ZPL 2.1",
+    keywords = "zope zope3 z3c authentication",
+    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.authentication.simple',
+    packages = find_packages('src'),
+    include_package_data = True,
+    package_dir = {'':'src'},
+    namespace_packages = ['z3c', 'z3c.authentication'],
+    extras_require = dict(
+        test = [
+            'zope.testing',
+            'zope.app.testing',
+            'z3c.configurator',
+            ],
+        ),
+    install_requires = [
+        'setuptools',
+        'z3c.i18n',
+        'zope.app.authentication',
+        'zope.app.component',
+        'zope.app.container',
+        'zope.app.security',
+        'zope.component',
+        'zope.configuration',
+        'zope.event',
+        'zope.i18n',
+        'zope.interface',
+        'zope.location',
+        'zope.publisher',
+        'zope.schema',
+        'zope.security',
+        ],
+    zip_safe = False,
+)


Property changes on: z3c.authentication.simple/trunk/src
___________________________________________________________________
Name: svn:ignore
   - z3c.authentication.egg-info

   + z3c.authentication.egg-info
z3c.authentication.simple.egg-info


Modified: z3c.authentication.simple/trunk/src/z3c/authentication/simple/README.txt
===================================================================
--- z3c.authentication.simple/trunk/src/z3c/authentication/simple/README.txt	2008-03-16 00:55:38 UTC (rev 84692)
+++ z3c.authentication.simple/trunk/src/z3c/authentication/simple/README.txt	2008-03-16 01:04:53 UTC (rev 84693)
@@ -448,4 +448,3 @@
 
   >>> authenticated.email
   u'max at foobar.com'
-



More information about the Checkins mailing list