Commit ec15838d authored by Chris Withers's avatar Chris Withers

More typos.

parent ba29312c
...@@ -4,7 +4,7 @@ Buildout Egg-Installation Recipe ...@@ -4,7 +4,7 @@ Buildout Egg-Installation Recipe
.. contents:: .. contents::
The egg-installation recipe installes eggs into a buildout eggs The egg-installation recipe installs eggs into a buildout eggs
directory. It also generates scripts in a buildout bin directory with directory. It also generates scripts in a buildout bin directory with
egg paths baked into them. egg paths baked into them.
...@@ -115,7 +115,7 @@ scripts recipe: ...@@ -115,7 +115,7 @@ scripts recipe:
Installing demo. Installing demo.
Generated script '/sample-buildout/bin/demo'. Generated script '/sample-buildout/bin/demo'.
Now we also see the script defined by the dmo script: Now we also see the script defined by the demo script:
>>> ls(sample_buildout, 'bin') >>> ls(sample_buildout, 'bin')
- buildout - buildout
...@@ -126,7 +126,7 @@ The scripts recipe defines some additional options: ...@@ -126,7 +126,7 @@ The scripts recipe defines some additional options:
entry-points entry-points
A list of entry-point identifiers of the form name=module#attrs, A list of entry-point identifiers of the form name=module#attrs,
name is a script name, module is a module name, and a attrs is a name is a script name, module is a module name, and a attrs is a
(possibly dotted) name of an object wihin the module. This option (possibly dotted) name of an object within the module. This option
is useful when working with distributions that don't declare entry is useful when working with distributions that don't declare entry
points, such as distributions not written to work with setuptools. points, such as distributions not written to work with setuptools.
...@@ -143,7 +143,7 @@ interpreter ...@@ -143,7 +143,7 @@ interpreter
interpreter that has the path set based on the eggs installed. interpreter that has the path set based on the eggs installed.
extra-paths extra-paths
Extra paths to include in a generates script. Extra paths to include in a generated script.
initialization initialization
Specify some Python initialization code. This is very limited. In Specify some Python initialization code. This is very limited. In
...@@ -169,7 +169,7 @@ Let's add an interpreter option: ...@@ -169,7 +169,7 @@ Let's add an interpreter option:
... """ % dict(server=link_server)) ... """ % dict(server=link_server))
Note that we ommitted the entry point name from the recipe Note that we ommitted the entry point name from the recipe
specification. We were able to do this because the scripts recipe if specification. We were able to do this because the scripts recipe is
the default entry point for the zc.recipe.egg egg. the default entry point for the zc.recipe.egg egg.
>>> print system(buildout), >>> print system(buildout),
...@@ -372,7 +372,7 @@ Let's look at the script that was generated: ...@@ -372,7 +372,7 @@ Let's look at the script that was generated:
Specifying initialialization code and arguments Specifying initialialization code and arguments
----------------------------------------------- -----------------------------------------------
Sometimes, we ned to do more than just calling entry points. We can Sometimes, we need to do more than just calling entry points. We can
use the initialialization and arguments options to specify extra code use the initialialization and arguments options to specify extra code
to be included in generated scripts: to be included in generated scripts:
...@@ -420,7 +420,7 @@ to be included in generated scripts: ...@@ -420,7 +420,7 @@ to be included in generated scripts:
eggrecipedemo.main(a, 2) eggrecipedemo.main(a, 2)
Here we see that the initialization code we specified was added after Here we see that the initialization code we specified was added after
setting the path. Note, as mentioennd above, that leading whitespace setting the path. Note, as mentioned above, that leading whitespace
has been stripped. Similarly, the argument code we specified was has been stripped. Similarly, the argument code we specified was
added in the entry point call (to main). added in the entry point call (to main).
......
...@@ -91,7 +91,7 @@ of extra requirements to be included in the working set. ...@@ -91,7 +91,7 @@ of extra requirements to be included in the working set.
demoneeded 1.2c1 demoneeded 1.2c1
extra paths: [] extra paths: []
We can see that the options were augmented with additionl data We can see that the options were augmented with additional data
computed by the egg recipe by looking at .installed.cfg: computed by the egg recipe by looking at .installed.cfg:
>>> cat(sample_buildout, '.installed.cfg') >>> cat(sample_buildout, '.installed.cfg')
......
Creating eggs with extensions neededing custom build settings Creating eggs with extensions needing custom build settings
============================================================= =============================================================
Sometimes, It's necessary to provide extra control over how an egg is Sometimes, It's necessary to provide extra control over how an egg is
......
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