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
isaak yansane-sisk
slapos.buildout
Commits
93a6b845
Commit
93a6b845
authored
Aug 08, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed (documentation of) the unzip option. It seems to be too
brittle and failed tests with the latest setuptools.
parent
11b95fbe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
19 deletions
+3
-19
zc.recipe.egg_/README.txt
zc.recipe.egg_/README.txt
+0
-6
zc.recipe.egg_/src/zc/recipe/egg/README.txt
zc.recipe.egg_/src/zc/recipe/egg/README.txt
+2
-12
zc.recipe.egg_/src/zc/recipe/egg/api.txt
zc.recipe.egg_/src/zc/recipe/egg/api.txt
+1
-1
No files found.
zc.recipe.egg_/README.txt
View file @
93a6b845
...
...
@@ -26,12 +26,6 @@ index
python
The name of a section defining the Python executable to use.
This defaults to buildout.
unzip
The value of this option must be either true or false. If the value
is true, then the installed egg will be unzipped. Note that this is
only effective when an egg is installed. If a zipped egg already
exists in the eggs directory, it will not be unzipped.
scripts
Control which scripts are generated. The value should be a list of
...
...
zc.recipe.egg_/src/zc/recipe/egg/README.txt
View file @
93a6b845
...
...
@@ -29,12 +29,6 @@ python
Python executable is found in the executable option of the named
section.
unzip
The value of this option must be either true or false. If the value
is true, then the installed egg will be unzipped. Note that this is
only effective when an egg is installed. If a zipped egg already
exists in the eggs directory, it will not be unzipped.
scripts
Control which scripts are generated. The value should be a list of
zero or more tokens. Each token is either a name, or a name
...
...
@@ -141,20 +135,16 @@ specification. For example, We remove the restriction on demo:
... recipe = zc.recipe.egg
... find-links = %(server)s
... index = %(server)s/index
... unzip = true
... """ % dict(server=link_server))
We also used the unzip uption to request a directory, rather than
a zip file.
>>> print system(buildout),
Then we'll get a new demo egg:
>>> ls(sample_buildout, 'eggs')
- demo-0.2-py2.3.egg
d
demo-0.3-py2.3.egg
d
demoneeded-1.0-py2.3.egg
-
demo-0.3-py2.3.egg
-
demoneeded-1.0-py2.3.egg
Note that we removed the eggs option, and the eggs
defaulted to the part name.
...
...
zc.recipe.egg_/src/zc/recipe/egg/api.txt
View file @
93a6b845
...
...
@@ -6,7 +6,7 @@ and generate scripts based on the resulting working sets. The egg
recipe provides an API that other recipes can use.
A recipe can reuse the egg recipe, supporting the eggs, find-links,
index,
python, and unzip
options. This is done by creating an egg
index,
and python
options. This is done by creating an egg
recipe instance in a recipes's contructor. In the recipe's install
script, the egg-recipe instance's working_set method to collect the
requested eggs and working set.
...
...
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