[Checkins] SVN: Products.PluginRegistry/trunk/ svb, plus:
Tres Seaver
tseaver at palladion.com
Mon Nov 16 09:21:52 EST 2009
Log message for revision 105719:
svb, plus:
- Require Zope >= 2.12.
- Add a buildout for running tests.
Changed:
_U Products.PluginRegistry/trunk/
U Products.PluginRegistry/trunk/CHANGES.txt
U Products.PluginRegistry/trunk/Products/PluginRegistry/version.txt
A Products.PluginRegistry/trunk/bootstrap.py
A Products.PluginRegistry/trunk/buildout.cfg
U Products.PluginRegistry/trunk/setup.py
-=-
Property changes on: Products.PluginRegistry/trunk
___________________________________________________________________
Modified: svn:ignore
- Products.PluginRegistry.egg-info
+ bin
develop-eggs
eggs
parts
Products.PluginRegistry.egg-info
.installed.cfg
Modified: Products.PluginRegistry/trunk/CHANGES.txt
===================================================================
--- Products.PluginRegistry/trunk/CHANGES.txt 2009-11-16 14:17:27 UTC (rev 105718)
+++ Products.PluginRegistry/trunk/CHANGES.txt 2009-11-16 14:21:51 UTC (rev 105719)
@@ -1,6 +1,14 @@
Change Log
==========
+After 1.2
+---------
+
+- Require Zope >= 2.12.
+
+- Add a buildout for running tests.
+
+
1.2 (2009-11-15)
----------------
Modified: Products.PluginRegistry/trunk/Products/PluginRegistry/version.txt
===================================================================
--- Products.PluginRegistry/trunk/Products/PluginRegistry/version.txt 2009-11-16 14:17:27 UTC (rev 105718)
+++ Products.PluginRegistry/trunk/Products/PluginRegistry/version.txt 2009-11-16 14:21:51 UTC (rev 105719)
@@ -1 +1 @@
-1.2
+1.3dev
Copied: Products.PluginRegistry/trunk/bootstrap.py (from rev 105678, Products.PluggableAuthService/trunk/bootstrap.py)
===================================================================
--- Products.PluginRegistry/trunk/bootstrap.py (rev 0)
+++ Products.PluginRegistry/trunk/bootstrap.py 2009-11-16 14:21:51 UTC (rev 105719)
@@ -0,0 +1,62 @@
+##############################################################################
+#
+# Copyright (c) 2006 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$
+"""
+
+import os, shutil, sys, tempfile, urllib2
+
+tmpeggs = tempfile.mkdtemp()
+
+try:
+ import pkg_resources
+except ImportError:
+ 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
+
+if sys.platform == 'win32':
+ def quote(c):
+ if ' ' in c:
+ return '"%s"' % c # work around spawn lamosity on windows
+ else:
+ return c
+else:
+ def quote (c):
+ return c
+
+cmd = 'from setuptools.command.easy_install import main; main()'
+ws = pkg_resources.working_set
+assert os.spawnle(
+ os.P_WAIT, sys.executable, quote (sys.executable),
+ '-c', quote (cmd), '-mqNxd', quote (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)
Property changes on: Products.PluginRegistry/trunk/bootstrap.py
___________________________________________________________________
Added: svn:keywords
+ Id Rev Date
Added: svn:mergeinfo
+
Added: svn:eol-style
+ native
Added: Products.PluginRegistry/trunk/buildout.cfg
===================================================================
--- Products.PluginRegistry/trunk/buildout.cfg (rev 0)
+++ Products.PluginRegistry/trunk/buildout.cfg 2009-11-16 14:21:51 UTC (rev 105719)
@@ -0,0 +1,15 @@
+[buildout]
+parts = interpreter test
+develop = .
+unzip = true
+
+[interpreter]
+recipe = zc.recipe.egg
+interpreter = python
+eggs =
+ Products.PluginRegistry
+
+[test]
+recipe = zc.recipe.testrunner
+eggs =
+ Products.PluginRegistry
Modified: Products.PluginRegistry/trunk/setup.py
===================================================================
--- Products.PluginRegistry/trunk/setup.py 2009-11-16 14:17:27 UTC (rev 105718)
+++ Products.PluginRegistry/trunk/setup.py 2009-11-16 14:21:51 UTC (rev 105719)
@@ -46,7 +46,7 @@
zip_safe=False,
install_requires=[
'setuptools',
-# 'Zope >= 2.10'
+ 'Zope2 >= 2.12'
],
entry_points="""
[zope2.initialize]
More information about the checkins
mailing list