Skip to content

Commit

Permalink
First steps, but we need a groktoolkit release first.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Aug 28, 2023
1 parent a2c80b9 commit 43368d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
21 changes: 8 additions & 13 deletions INSTALL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,22 @@ Preparing for grok development

The Grok development sandbox is set up via `zc.buildout`_

.. _zc.buildout: http://cheeseshop.python.org/pypi/zc.buildout
.. _zc.buildout: https://pypi.org/project/zc.buildout

You may have setuptools already installed for your system Python. In
that case, you may need to upgrade it first because buildout requires
a very recent version::
Clone ``grok`` from Github:

$ sudo easy_install -U setuptools
$ git clone git@github.com:zopefoundation/grok.git

If this command fails because easy_install is not available, there is
a good chance you do not have setuptools available for your system
Python. If so, there is no problem because setuptools will be
installed locally by buildout.
Go inside this directory and create a ``venv`` and install ``zc.buildout``:

Bootstrap the buildout environment::

$ python bootstrap/bootstrap.py
$ cd grok
$ python3 -m venv .
$ bin/pip install zc.buildout

and run the buildout command::

$ bin/buildout
[lots of stuff will be downloaded and installed here]
[lots of stuff will be downloaded and installed here, ignore the warnings]

Note that if you have more than one sandbox for a Zope-based web
application, it will probably make sense to share the eggs between the
Expand Down
3 changes: 2 additions & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[buildout]
extends =
https://raw.githubusercontent.com/zopefoundation/groktoolkit/3.0.0a1/grok.cfg
index = https://pypi.python.org/simple/
parts =
interpreter
mkdirs
Expand All @@ -20,6 +19,8 @@ versions = versions
[versions]
grok =
setuptools = >= 65.5.1
zc.buildout = >= 3.0
collective.recipe.template = >= 2.2

[interpreter]
recipe = zc.recipe.egg
Expand Down

0 comments on commit 43368d7

Please sign in to comment.