[Checkins] SVN: z3c.preference/trunk/ merged development branch

Michael Howitz mh at gocept.com
Sun Jul 18 14:49:16 EDT 2010


Log message for revision 114822:
  merged development branch
  

Changed:
  _U  z3c.preference/trunk/
  A   z3c.preference/trunk/CHANGES.txt
  A   z3c.preference/trunk/COPYRIGHT.txt
  A   z3c.preference/trunk/LICENSE.txt
  A   z3c.preference/trunk/README.txt
  A   z3c.preference/trunk/TODO.txt
  A   z3c.preference/trunk/bootstrap.py
  A   z3c.preference/trunk/buildout.cfg
  A   z3c.preference/trunk/setup.py
  A   z3c.preference/trunk/src/

-=-

Property changes on: z3c.preference/trunk
___________________________________________________________________
Added: svn:ignore
   + develop-eggs
bin
parts
.installed.cfg
coverage


Copied: z3c.preference/trunk/CHANGES.txt (from rev 114812, z3c.preference/branches/icemac-dev/CHANGES.txt)
===================================================================
--- z3c.preference/trunk/CHANGES.txt	                        (rev 0)
+++ z3c.preference/trunk/CHANGES.txt	2010-07-18 18:49:16 UTC (rev 114822)
@@ -0,0 +1,21 @@
+=======
+Changes
+=======
+
+
+0.1.2 (unreleased)
+==================
+
+- Nothing changed yet.
+
+
+0.1.1 (2010-07-17)
+==================
+
+- Documented preconditions to use this package, see `Using
+  z3c.preference`_.
+
+0.1.0 (2010-07-10)
+==================
+
+- Initial Release.

Copied: z3c.preference/trunk/COPYRIGHT.txt (from rev 114812, z3c.preference/branches/icemac-dev/COPYRIGHT.txt)
===================================================================
--- z3c.preference/trunk/COPYRIGHT.txt	                        (rev 0)
+++ z3c.preference/trunk/COPYRIGHT.txt	2010-07-18 18:49:16 UTC (rev 114822)
@@ -0,0 +1 @@
+Zope Foundation and Contributors
\ No newline at end of file

Copied: z3c.preference/trunk/LICENSE.txt (from rev 114812, z3c.preference/branches/icemac-dev/LICENSE.txt)
===================================================================
--- z3c.preference/trunk/LICENSE.txt	                        (rev 0)
+++ z3c.preference/trunk/LICENSE.txt	2010-07-18 18:49:16 UTC (rev 114822)
@@ -0,0 +1,44 @@
+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.

Copied: z3c.preference/trunk/README.txt (from rev 114812, z3c.preference/branches/icemac-dev/README.txt)
===================================================================
--- z3c.preference/trunk/README.txt	                        (rev 0)
+++ z3c.preference/trunk/README.txt	2010-07-18 18:49:16 UTC (rev 114822)
@@ -0,0 +1,2 @@
+This packages provides a user interface for `zope.preference` using
+`z3c.pagelet` and `z3c.form`.

Copied: z3c.preference/trunk/TODO.txt (from rev 114812, z3c.preference/branches/icemac-dev/TODO.txt)
===================================================================
--- z3c.preference/trunk/TODO.txt	                        (rev 0)
+++ z3c.preference/trunk/TODO.txt	2010-07-18 18:49:16 UTC (rev 114822)
@@ -0,0 +1,9 @@
+=======
+ To do
+=======
+
+- Add a tree to access preferences deeper in the preference tree.
+
+- Render preference description.
+
+- Document how to use it in own projects. (ZCML and skin)
\ No newline at end of file

Copied: z3c.preference/trunk/bootstrap.py (from rev 114812, z3c.preference/branches/icemac-dev/bootstrap.py)
===================================================================
--- z3c.preference/trunk/bootstrap.py	                        (rev 0)
+++ z3c.preference/trunk/bootstrap.py	2010-07-18 18:49:16 UTC (rev 114822)
@@ -0,0 +1,52 @@
+##############################################################################
+#
+# Copyright (c) 2008 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.
+#
+##############################################################################
+"""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$
+"""
+
+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)

Copied: z3c.preference/trunk/buildout.cfg (from rev 114812, z3c.preference/branches/icemac-dev/buildout.cfg)
===================================================================
--- z3c.preference/trunk/buildout.cfg	                        (rev 0)
+++ z3c.preference/trunk/buildout.cfg	2010-07-18 18:49:16 UTC (rev 114822)
@@ -0,0 +1,7 @@
+[buildout]
+develop = .
+parts = test
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = z3c.preference [test]

Copied: z3c.preference/trunk/setup.py (from rev 114812, z3c.preference/branches/icemac-dev/setup.py)
===================================================================
--- z3c.preference/trunk/setup.py	                        (rev 0)
+++ z3c.preference/trunk/setup.py	2010-07-18 18:49:16 UTC (rev 114822)
@@ -0,0 +1,76 @@
+##############################################################################
+#
+# Copyright (c) 2010 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"""
+
+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.preference',
+    version='0.1.2dev',
+    author = "Michael Howitz",
+    author_email = "zope-dev at zope.org",
+    description = "UI for zope.preference using z3c.pagelet and z3c.form.",
+    long_description=(
+        read('README.txt')
+        + '\n\n.. contents::\n\n' +
+        read('src', 'z3c', 'preference', 'README.txt')
+        + '\n\n' +
+        read('TODO.txt')
+        + '\n\n' +
+        read('CHANGES.txt')
+        ),
+    license = "ZPL 2.1",
+    keywords = "zope3 bluebream z3c preference ui",
+    classifiers = [
+        'Development Status :: 3 - Alpha',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved',
+        'License :: OSI Approved :: Zope Public License',
+        'Programming Language :: Python',
+        'Natural Language :: English',
+        'Operating System :: OS Independent',
+        'Topic :: Internet :: WWW/HTTP',
+        'Framework :: Zope3'
+        ],
+    url = 'http://pypi.python.org/pypi/z3c.preference',
+    packages = find_packages('src'),
+    include_package_data = True,
+    package_dir = {'':'src'},
+    namespace_packages = ['z3c'],
+    extras_require = dict(
+        test = [
+            'zope.app.wsgi >= 3.7',
+            'zope.browserresource',
+            'zope.login',
+            'zope.principalregistry',
+            'zope.app.principalannotation',
+            'zope.securitypolicy',
+            'zope.testbrowser',
+            'zope.testing',
+            ],
+        ),
+    install_requires = [
+        'setuptools',
+        'z3c.form',
+        'z3c.formui',
+        'z3c.pagelet',
+        'zope.preference',
+        ],
+    zip_safe = False,
+)



More information about the checkins mailing list