[Checkins] SVN: five.grok/trunk/ Reorganisation
Lennart Regebro
regebro at gmail.com
Sat Apr 26 04:49:56 EDT 2008
Log message for revision 85745:
Reorganisation
Changed:
A five.grok/trunk/bootstrap.py
A five.grok/trunk/buildout.cfg
D five.grok/trunk/five/
A five.grok/trunk/five.grok-configure.zcml
D five.grok/trunk/five.grokkers-configure.zcml
U five.grok/trunk/setup.py
A five.grok/trunk/src/
A five.grok/trunk/src/EXTERNALS.txt
A five.grok/trunk/src/five/
-=-
Added: five.grok/trunk/bootstrap.py
===================================================================
--- five.grok/trunk/bootstrap.py (rev 0)
+++ five.grok/trunk/bootstrap.py 2008-04-26 08:49:56 UTC (rev 85745)
@@ -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)
Property changes on: five.grok/trunk/bootstrap.py
___________________________________________________________________
Name: svn:keywords
+ Id
Added: five.grok/trunk/buildout.cfg
===================================================================
--- five.grok/trunk/buildout.cfg (rev 0)
+++ five.grok/trunk/buildout.cfg 2008-04-26 08:49:56 UTC (rev 85745)
@@ -0,0 +1,55 @@
+[buildout]
+parts =
+ zope2
+ instance
+ zopepy
+
+# Add additional egg download sources here. dist.plone.org contains archives
+# of Plone packages.
+find-links =
+ http://download.zope.org/ppix/
+ http://download.zope.org/distribution/
+ http://effbot.org/downloads
+
+eggs = five.grok
+ grokcore.component
+
+# Reference any eggs you are developing here, one per line
+# e.g.: develop = src/my.package
+develop = .
+ src/grokcore.component
+
+newest = false
+
+[zope2]
+recipe = plone.recipe.zope2install
+url = http://www.zope.org/Products/Zope/2.10.5/Zope-2.10.5-final.tgz
+
+[instance]
+recipe = plone.recipe.zope2instance
+zope2-location = ${zope2:location}
+user = admin:admin
+http-address = 8080
+debug-mode = on
+verbose-security = on
+
+# If you want Zope to know about any additional eggs, list them here.
+# This should include any development eggs you listed in develop-eggs above,
+# e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package
+eggs =
+ ${buildout:eggs}
+
+# If you want to register ZCML slugs for any packages, list them here.
+# e.g. zcml = my.package my.other.package
+zcml = five.grok:meta.zcml
+ five.grok
+
+products =
+ ${buildout:directory}/products
+
+[zopepy]
+recipe = zc.recipe.egg
+eggs = ${instance:eggs}
+interpreter = zopepy
+extra-paths = ${zope2:location}/lib/python
+scripts = zopepy
Copied: five.grok/trunk/five.grok-configure.zcml (from rev 85744, five.grok/trunk/five.grokkers-configure.zcml)
===================================================================
--- five.grok/trunk/five.grok-configure.zcml (rev 0)
+++ five.grok/trunk/five.grok-configure.zcml 2008-04-26 08:49:56 UTC (rev 85745)
@@ -0,0 +1 @@
+<include package="grokkers" />
\ No newline at end of file
Deleted: five.grok/trunk/five.grokkers-configure.zcml
===================================================================
--- five.grok/trunk/five.grokkers-configure.zcml 2008-04-26 08:38:05 UTC (rev 85744)
+++ five.grok/trunk/five.grokkers-configure.zcml 2008-04-26 08:49:56 UTC (rev 85745)
@@ -1 +0,0 @@
-<include package="grokkers" />
\ No newline at end of file
Modified: five.grok/trunk/setup.py
===================================================================
--- five.grok/trunk/setup.py 2008-04-26 08:38:05 UTC (rev 85744)
+++ five.grok/trunk/setup.py 2008-04-26 08:49:56 UTC (rev 85745)
@@ -3,7 +3,7 @@
version = '0.1'
-setup(name='five.grokkers',
+setup(name='five.grok',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
@@ -18,15 +18,15 @@
author_email='',
url='',
license='GPL',
- packages=find_packages(exclude=['ez_setup']),
+ packages=find_packages('src', exclude=['ez_setup']),
+ package_dir={'': 'src'},
namespace_packages=['five'],
include_package_data=True,
- zip_safe=False,
+ zip_safe=False,
install_requires=[
'setuptools',
- # -*- Extra requirements: -*-
+ 'grokcore.component',
],
entry_points="""
- # -*- Entry points: -*-
""",
)
Property changes on: five.grok/trunk/src
___________________________________________________________________
Name: svn:externals
+ # svn ps -F EXTERNALS.txt svn:externals .
grokcore.component svn://svn.zope.org/repos/main/grokcore.component/trunk
Added: five.grok/trunk/src/EXTERNALS.txt
===================================================================
--- five.grok/trunk/src/EXTERNALS.txt (rev 0)
+++ five.grok/trunk/src/EXTERNALS.txt 2008-04-26 08:49:56 UTC (rev 85745)
@@ -0,0 +1,2 @@
+# svn ps -F EXTERNALS.txt svn:externals .
+grokcore.component svn://svn.zope.org/repos/main/grokcore.component/trunk
\ No newline at end of file
Property changes on: five.grok/trunk/src/EXTERNALS.txt
___________________________________________________________________
Name: svn:keywords
+ Id
Copied: five.grok/trunk/src/five (from rev 85744, five.grok/trunk/five)
More information about the Checkins
mailing list