Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.buildout
Commits
ec15838d
Commit
ec15838d
authored
Jul 16, 2008
by
Chris Withers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More typos.
parent
ba29312c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
zc.recipe.egg_/README.txt
zc.recipe.egg_/README.txt
+1
-1
zc.recipe.egg_/src/zc/recipe/egg/README.txt
zc.recipe.egg_/src/zc/recipe/egg/README.txt
+6
-6
zc.recipe.egg_/src/zc/recipe/egg/api.txt
zc.recipe.egg_/src/zc/recipe/egg/api.txt
+1
-1
zc.recipe.egg_/src/zc/recipe/egg/custom.txt
zc.recipe.egg_/src/zc/recipe/egg/custom.txt
+1
-1
No files found.
zc.recipe.egg_/README.txt
View file @
ec15838d
...
...
@@ -4,7 +4,7 @@ Buildout Egg-Installation Recipe
.. contents::
The egg-installation recipe install
e
s 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
egg paths baked into them.
zc.recipe.egg_/src/zc/recipe/egg/README.txt
View file @
ec15838d
...
...
@@ -115,7 +115,7 @@ scripts recipe:
Installing 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 d
e
mo script:
>>> ls(sample_buildout, 'bin')
- buildout
...
...
@@ -126,7 +126,7 @@ The scripts recipe defines some additional options:
entry-points
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
(possibly dotted) name of an object wihin the module. This option
(possibly dotted) name of an object wi
t
hin the module. This option
is useful when working with distributions that don't declare entry
points, such as distributions not written to work with setuptools.
...
...
@@ -143,7 +143,7 @@ interpreter
interpreter that has the path set based on the eggs installed.
extra-paths
Extra paths to include in a generate
s
script.
Extra paths to include in a generate
d
script.
initialization
Specify some Python initialization code. This is very limited. In
...
...
@@ -169,7 +169,7 @@ Let's add an interpreter option:
... """ % dict(server=link_server))
Note that we ommitted the entry point name from the recipe
specification. We were able to do this because the scripts recipe i
f
specification. We were able to do this because the scripts recipe i
s
the default entry point for the zc.recipe.egg egg.
>>> print system(buildout),
...
...
@@ -372,7 +372,7 @@ Let's look at the script that was generated:
Specifying initialialization code and arguments
-----------------------------------------------
Sometimes, we ned to do more than just calling entry points. We can
Sometimes, we ne
e
d to do more than just calling entry points. We can
use the initialialization and arguments options to specify extra code
to be included in generated scripts:
...
...
@@ -420,7 +420,7 @@ to be included in generated scripts:
eggrecipedemo.main(a, 2)
Here we see that the initialization code we specified was added after
setting the path. Note, as mentio
enn
d above, that leading whitespace
setting the path. Note, as mentio
ne
d above, that leading whitespace
has been stripped. Similarly, the argument code we specified was
added in the entry point call (to main).
...
...
zc.recipe.egg_/src/zc/recipe/egg/api.txt
View file @
ec15838d
...
...
@@ -91,7 +91,7 @@ of extra requirements to be included in the working set.
demoneeded 1.2c1
extra paths: []
We can see that the options were augmented with additionl data
We can see that the options were augmented with addition
a
l data
computed by the egg recipe by looking at .installed.cfg:
>>> cat(sample_buildout, '.installed.cfg')
...
...
zc.recipe.egg_/src/zc/recipe/egg/custom.txt
View file @
ec15838d
Creating eggs with extensions need
ed
ing custom build settings
Creating eggs with extensions needing custom build settings
=============================================================
Sometimes, It's necessary to provide extra control over how an egg is
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment