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
Boxiang Sun
slapos.buildout
Commits
83dd5b6b
Commit
83dd5b6b
authored
Jun 09, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test/demo that the part name is used if a distribution isn't
specified.
parent
5998cea5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
eggrecipe/src/zc/recipe/egg/README.txt
eggrecipe/src/zc/recipe/egg/README.txt
+5
-3
No files found.
eggrecipe/src/zc/recipe/egg/README.txt
View file @
83dd5b6b
...
@@ -9,6 +9,8 @@ distribution
...
@@ -9,6 +9,8 @@ distribution
This is a requirement as defined by setuptools.
This is a requirement as defined by setuptools.
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.
A list of URLs, files, or directories to search for distributions.
...
@@ -101,7 +103,6 @@ specification. For example, if we remove the restriction on demo:
...
@@ -101,7 +103,6 @@ specification. For example, if we remove the restriction on demo:
...
...
... [demo]
... [demo]
... recipe = zc.recipe.egg
... recipe = zc.recipe.egg
... distribution = demo
... find_links = %s
... find_links = %s
... """ % sample_eggs)
... """ % sample_eggs)
...
@@ -117,6 +118,9 @@ Then we'll get a new demo egg:
...
@@ -117,6 +118,9 @@ Then we'll get a new demo egg:
- demoneeded-1.0-py2.3.egg
- demoneeded-1.0-py2.3.egg
- zc.recipe.egg.egg-link
- zc.recipe.egg.egg-link
Note that we removed the distribution option, and the distribution
defaulted to the part name.
The script is updated too:
The script is updated too:
>>> print system(os.path.join(sample_buildout, 'bin', 'demo')),
>>> print system(os.path.join(sample_buildout, 'bin', 'demo')),
...
@@ -134,7 +138,6 @@ arguments:
...
@@ -134,7 +138,6 @@ arguments:
...
...
... [demo]
... [demo]
... recipe = zc.recipe.egg
... recipe = zc.recipe.egg
... distribution = demo
... find_links = %s
... find_links = %s
... scripts =
... scripts =
... """ % sample_eggs)
... """ % sample_eggs)
...
@@ -155,7 +158,6 @@ You can also control the name used for scripts:
...
@@ -155,7 +158,6 @@ You can also control the name used for scripts:
...
...
... [demo]
... [demo]
... recipe = zc.recipe.egg
... recipe = zc.recipe.egg
... distribution = demo
... find_links = %s
... find_links = %s
... scripts = demo=foo
... scripts = demo=foo
... """ % sample_eggs)
... """ % sample_eggs)
...
...
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