Commit 825d1c54 authored by jim's avatar jim

Added missing dependency in sample.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@69805 62d5b8a3-27da-0310-9561-8e5933582275
parent c7dfde11
...@@ -6,9 +6,9 @@ and generate scripts based on the resulting working sets. The egg ...@@ -6,9 +6,9 @@ and generate scripts based on the resulting working sets. The egg
recipe provides an API that other recipes can use. recipe provides an API that other recipes can use.
A recipe can reuse the egg recipe, supporting the eggs, find-links, A recipe can reuse the egg recipe, supporting the eggs, find-links,
index, and pythonoptions. This is done by creating an egg index, and python options. This is done by creating an egg recipe
recipe instance in a recipes's contructor. In the recipe's install instance in a recipes's contructor. In the recipe's install script,
script, the egg-recipe instance's working_set method to collect the the egg-recipe instance's working_set method is used to collect the
requested eggs and working set. requested eggs and working set.
To illustrate, we create a sample recipe that is a very thin layer To illustrate, we create a sample recipe that is a very thin layer
...@@ -53,6 +53,7 @@ of extra requirements to be included in the working set. ...@@ -53,6 +53,7 @@ of extra requirements to be included in the working set.
... setup( ... setup(
... name = "sample", ... name = "sample",
... entry_points = {'zc.buildout': ['default = sample:Sample']}, ... entry_points = {'zc.buildout': ['default = sample:Sample']},
... install_requires = 'zc.recipe.egg',
... ) ... )
... """) ... """)
...@@ -95,6 +96,9 @@ computed by the egg recipe by looking at .installed.cfg: ...@@ -95,6 +96,9 @@ computed by the egg recipe by looking at .installed.cfg:
[sample-part] [sample-part]
__buildout_installed__ = __buildout_installed__ =
__buildout_signature__ = sample-6aWMvV2EJ9Ijq+bR8ugArQ== __buildout_signature__ = sample-6aWMvV2EJ9Ijq+bR8ugArQ==
zc.recipe.egg-cAsnudgkduAa/Fd+WJIM6Q==
setuptools-0.6-py2.4.egg
zc.buildout-+rYeCcmFuD1K/aB77XTj5A==
_b = /tmp/tmpb7kP9bsample-buildout/bin _b = /tmp/tmpb7kP9bsample-buildout/bin
_d = /tmp/tmpb7kP9bsample-buildout/develop-eggs _d = /tmp/tmpb7kP9bsample-buildout/develop-eggs
_e = /tmp/tmpb7kP9bsample-buildout/eggs _e = /tmp/tmpb7kP9bsample-buildout/eggs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment