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
Łukasz Nowak
slapos.buildout
Commits
fa94ed8d
Commit
fa94ed8d
authored
Jun 12, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed several options to use -s rather than _s.
parent
c1598ef6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
eggrecipe/src/zc/recipe/egg/README.txt
eggrecipe/src/zc/recipe/egg/README.txt
+6
-6
eggrecipe/src/zc/recipe/egg/egg.py
eggrecipe/src/zc/recipe/egg/egg.py
+2
-2
No files found.
eggrecipe/src/zc/recipe/egg/README.txt
View file @
fa94ed8d
...
...
@@ -11,7 +11,7 @@ distribution
If not specified, the distribution defaults to the part name.
find
_
links
find
-
links
A list of URLs, files, or directories to search for distributions.
To illustrate this, we've created a directory with some sample eggs:
...
...
@@ -33,11 +33,11 @@ install the demo package.
... [demo]
... recipe = zc.recipe.egg
... distribution = demo <0.3
... find
_
links = %s
... find
-
links = %s
... """ % sample_eggs)
In this example, we limited ourself to revisions before 0.3. We also
specified where to find distributions using the find
_
links option.
specified where to find distributions using the find
-
links option.
Let's run the buildout:
...
...
@@ -103,7 +103,7 @@ specification. For example, if we remove the restriction on demo:
...
... [demo]
... recipe = zc.recipe.egg
... find
_
links = %s
... find
-
links = %s
... """ % sample_eggs)
and rerun the buildout:
...
...
@@ -138,7 +138,7 @@ arguments:
...
... [demo]
... recipe = zc.recipe.egg
... find
_
links = %s
... find
-
links = %s
... scripts =
... """ % sample_eggs)
...
...
@@ -158,7 +158,7 @@ You can also control the name used for scripts:
...
... [demo]
... recipe = zc.recipe.egg
... find
_
links = %s
... find
-
links = %s
... scripts = demo=foo
... """ % sample_eggs)
...
...
eggrecipe/src/zc/recipe/egg/egg.py
View file @
fa94ed8d
...
...
@@ -29,8 +29,8 @@ class Egg:
def
install
(
self
):
distribution
=
self
.
options
.
get
(
'distribution'
,
self
.
name
)
links
=
self
.
options
.
get
(
'find
_
links'
,
self
.
buildout
[
'buildout'
].
get
(
'find
_
links'
),
'find
-
links'
,
self
.
buildout
[
'buildout'
].
get
(
'find
-
links'
),
)
if
links
:
links
=
links
.
split
()
...
...
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