[Checkins] SVN: lovely.recipe/branches/setup-extras/ *arg*
Harald Friessnegger
harald at webmeisterei.com
Wed Jan 23 17:23:06 EST 2008
Log message for revision 83136:
*arg*
Changed:
A lovely.recipe/branches/setup-extras/CHANGES.txt
A lovely.recipe/branches/setup-extras/TODO.txt
A lovely.recipe/branches/setup-extras/bootstrap.py
A lovely.recipe/branches/setup-extras/buildout.cfg
A lovely.recipe/branches/setup-extras/setup.py
A lovely.recipe/branches/setup-extras/src/
D lovely.recipe/branches/setup-extras/trunk/
-=-
Copied: lovely.recipe/branches/setup-extras/CHANGES.txt (from rev 83135, lovely.recipe/branches/setup-extras/trunk/CHANGES.txt)
===================================================================
--- lovely.recipe/branches/setup-extras/CHANGES.txt (rev 0)
+++ lovely.recipe/branches/setup-extras/CHANGES.txt 2008-01-23 22:23:05 UTC (rev 83136)
@@ -0,0 +1,59 @@
+=========================
+Changes for lovely.recipe
+=========================
+
+After
+=====
+
+BIG TODO: add tests for lovely.recipe.zeo and lovely.recipe.zope to test and
+ to show for what this all is for.
+
+2007/09/21 0.3.1b1:
+===================
+
+- mkdir makes sure directories are never deleted
+
+
+2007/08/31 0.3.1a3:
+===================
+
+- generated script names are created from the section name to allow more than
+ just one extractor in one buildout.
+
+
+2007/08/31 0.3.1a2:
+===================
+
+- merge from lovely-instance branch
+
+- i18nextract allows the definition of a custem configure.zcml which is needed
+ to be able to use it with package who do not contain a full configuration
+ setup.
+
+- fix tests to run not only on jukart's mac
+
+
+2007/06/04 0.3.0a2:
+===================
+
+- recipe for zope instances (instance, app); no tests as well :(
+
+
+2007/06/04 0.3.0a1:
+===================
+
+- recipe for importchecker
+
+
+2007/06/04 0.2.0a1:
+===================
+
+- Recipe for i18nextract and i18nmerge
+- no tests right now because of the complex setup (will come soon)
+
+
+2007/06/04 0.1a1:
+=================
+
+- first release. mkdir and mkfile implemented
+
Copied: lovely.recipe/branches/setup-extras/TODO.txt (from rev 83135, lovely.recipe/branches/setup-extras/trunk/TODO.txt)
===================================================================
--- lovely.recipe/branches/setup-extras/TODO.txt (rev 0)
+++ lovely.recipe/branches/setup-extras/TODO.txt 2008-01-23 22:23:05 UTC (rev 83136)
@@ -0,0 +1 @@
+tests for lovely.recipe.instance
\ No newline at end of file
Copied: lovely.recipe/branches/setup-extras/bootstrap.py (from rev 83135, lovely.recipe/branches/setup-extras/trunk/bootstrap.py)
===================================================================
--- lovely.recipe/branches/setup-extras/bootstrap.py (rev 0)
+++ lovely.recipe/branches/setup-extras/bootstrap.py 2008-01-23 22:23:05 UTC (rev 83136)
@@ -0,0 +1,55 @@
+##############################################################################
+#
+# 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
+
+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: lovely.recipe/branches/setup-extras/buildout.cfg (from rev 83135, lovely.recipe/branches/setup-extras/trunk/buildout.cfg)
===================================================================
--- lovely.recipe/branches/setup-extras/buildout.cfg (rev 0)
+++ lovely.recipe/branches/setup-extras/buildout.cfg 2008-01-23 22:23:05 UTC (rev 83136)
@@ -0,0 +1,10 @@
+[buildout]
+develop = .
+parts = test
+
+find-links = http://download.zope.org/distribution
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = lovely.recipe
+
Copied: lovely.recipe/branches/setup-extras/setup.py (from rev 83135, lovely.recipe/branches/setup-extras/trunk/setup.py)
===================================================================
--- lovely.recipe/branches/setup-extras/setup.py (rev 0)
+++ lovely.recipe/branches/setup-extras/setup.py 2008-01-23 22:23:05 UTC (rev 83136)
@@ -0,0 +1,36 @@
+#!/usr/bin/env python
+from setuptools import setup, find_packages
+entry_points = """
+[zc.buildout]
+mkdir = lovely.recipe.fs.mkdir:Mkdir
+mkfile = lovely.recipe.fs.mkfile:Mkfile
+i18n = lovely.recipe.i18n.i18n:I18n
+importchecker = lovely.recipe.importchecker.app:ImportChecker
+instance = lovely.recipe.zope.zope:LovelyInstance
+app = lovely.recipe.zope.zope:LovelyApp
+server = lovely.recipe.zeo:LovelyServer
+"""
+
+setup (
+ name='lovely.recipe',
+ version='0.3.1b1',
+ author = "Lovely Systems",
+ author_email = "office at lovelysystems.com",
+ license = "ZPL 2.1",
+ keywords = "buildout recipe filesystem i18n importchecker",
+ url = 'svn://svn.zope.org/repos/main/lovely.recipe',
+ packages = find_packages('src'),
+ include_package_data = True,
+ package_dir = {'':'src'},
+ namespace_packages = ['lovely', 'lovely.recipe'],
+ install_requires = ['setuptools',
+ 'zc.buildout',
+ 'zc.recipe.egg',
+ 'zope.app.locales',
+ 'zc.zope3recipes',
+ 'zc.zodbrecipes',
+ 'ZConfig'
+ ],
+ entry_points = entry_points,
+ zip_safe = True,
+ )
Copied: lovely.recipe/branches/setup-extras/src (from rev 83135, lovely.recipe/branches/setup-extras/trunk/src)
More information about the Checkins
mailing list