[Grok-dev] grok application based on zopeproject

Jan-Wijbrand Kolman janwijbrand at gmail.com
Fri Dec 21 10:34:45 EST 2007


Hi,

Just a little "FYI".

I played arround with getting Grok running in a project created by the
"zopeproject" tool. As far as I can see now it requires only a little
manual work after running zopeproject.

Below is a diff of a plain zopeproject-based instance against a
zopeproject-based project in which I got Grok running. Maybe it is
useful for someone.


regards,
jw



diff -ur ../projects/grok-on-zopeproject/buildout.cfg
./plain-zopeproject/buildout.cfg
--- ../projects/grok-on-zopeproject/buildout.cfg	2007-12-21
16:10:18.000000000 +0100
+++ ./plain-zopeproject/buildout.cfg	2007-12-21 16:07:07.000000000 +0100
@@ -1,8 +1,5 @@
 [buildout]
-extends = http://svn.zope.org/*checkout*/grok/trunk/versions.cfg
-versions = versions
 develop = .
-          ../grok
 parts = app test
 find-links = http://download.zope.org/distribution/
 newest = false
@@ -11,8 +8,7 @@

 [app]
 recipe = zc.recipe.egg
-eggs = grok
-       klussenopzondag
+eggs = klussenopzondag
        zope.app.apidoc
        zope.app.securitypolicy
        z3c.evalexception>=2.0
diff -ur ../projects/grok-on-zopeproject/setup.py
./plain-zopeproject/setup.py
--- ../projects/grok-on-zopeproject/setup.py	2007-12-21
16:10:43.000000000 +0100
+++ ./plain-zopeproject/setup.py	2007-12-21 16:07:07.000000000 +0100
@@ -23,7 +23,6 @@
       include_package_data=True,
       zip_safe=False,
       install_requires=['setuptools',
-                        'grok',
                         'ZODB3',
                         'ZConfig',
                         'zdaemon',
diff -ur
../projects/grok-on-zopeproject/src/klussenopzondag/configure.zcml
./plain-zopeproject/src/klussenopzondag/configure.zcml
--- ../projects/grok-on-zopeproject/src/klussenopzondag/configure.zcml
2007-12-21 16:12:04.000000000 +0100
+++ ./plain-zopeproject/src/klussenopzondag/configure.zcml	2007-12-21
16:07:07.000000000 +0100
@@ -1,5 +1,4 @@
 <configure xmlns="http://namespaces.zope.org/zope"
-           xmlns:grok="http://namespaces.zope.org/grok"
            i18n_domain="klussenopzondag">

   <include package="zope.security" file="meta.zcml" />
@@ -24,7 +23,5 @@
   <include package="zope.app.catalog" />

   <!-- Add your own component registrations here -->
-  <include package="grok" />
-  <grok:grok package="." />

 </configure>
diff -ur
../projects/grok-on-zopeproject/src/klussenopzondag/ftesting.zcml
./plain-zopeproject/src/klussenopzondag/ftesting.zcml
--- ../projects/grok-on-zopeproject/src/klussenopzondag/ftesting.zcml
2007-12-21 16:08:04.000000000 +0100
+++ ./plain-zopeproject/src/klussenopzondag/ftesting.zcml	2007-12-21
16:23:59.000000000 +0100
@@ -4,7 +4,6 @@

   <!-- Turn on the devmode -->
   <meta:provides feature="devmode" />
-  <include package="grok" />
   <include package="klussenopzondag" />

   <include package="zope.app.securitypolicy" file="meta.zcml" />



More information about the Grok-dev mailing list