[Grok-dev] Re: grok application based on zopeproject
Philipp von Weitershausen
philipp at weitershausen.de
Sat Dec 22 12:29:30 EST 2007
Jan-Wijbrand Kolman wrote:
> Just a little "FYI".
Cool! Thanks for posting this!
> 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.
Those diffs look backwards to me...
> diff -ur ../projects/grok-on-zopeproject/buildout.cfg ./plain-zopeproject/buildout.cfg
You want to diff plain-zopeproject against grok-on-zopeproject, not the
other way around :).
> --- ../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
The 'grok' bit is unnecessary here if you already depend on 'grok' in
setup.py (which is the correct way).
> 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',
Merry Christmas to everybody,
Philipp
More information about the Grok-dev
mailing list