Commit 93a6b845 authored by Jim Fulton's avatar Jim Fulton

Removed (documentation of) the unzip option. It seems to be too

brittle and failed tests with the latest setuptools.
parent 11b95fbe
...@@ -27,12 +27,6 @@ python ...@@ -27,12 +27,6 @@ python
The name of a section defining the Python executable to use. The name of a section defining the Python executable to use.
This defaults to buildout. 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 scripts
Control which scripts are generated. The value should be a list of 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 zero or more tokens. Each token is either a name, or a name
......
...@@ -29,12 +29,6 @@ python ...@@ -29,12 +29,6 @@ python
Python executable is found in the executable option of the named Python executable is found in the executable option of the named
section. 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 scripts
Control which scripts are generated. The value should be a list of 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 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: ...@@ -141,20 +135,16 @@ specification. For example, We remove the restriction on demo:
... recipe = zc.recipe.egg ... recipe = zc.recipe.egg
... find-links = %(server)s ... find-links = %(server)s
... index = %(server)s/index ... index = %(server)s/index
... unzip = true
... """ % dict(server=link_server)) ... """ % dict(server=link_server))
We also used the unzip uption to request a directory, rather than
a zip file.
>>> print system(buildout), >>> print system(buildout),
Then we'll get a new demo egg: Then we'll get a new demo egg:
>>> ls(sample_buildout, 'eggs') >>> ls(sample_buildout, 'eggs')
- demo-0.2-py2.3.egg - demo-0.2-py2.3.egg
d demo-0.3-py2.3.egg - demo-0.3-py2.3.egg
d demoneeded-1.0-py2.3.egg - demoneeded-1.0-py2.3.egg
Note that we removed the eggs option, and the eggs Note that we removed the eggs option, and the eggs
defaulted to the part name. defaulted to the part name.
......
...@@ -6,7 +6,7 @@ and generate scripts based on the resulting working sets. The egg ...@@ -6,7 +6,7 @@ and generate scripts based on the resulting working sets. The egg
recipe provides an API that other recipes can use. recipe provides an API that other recipes can use.
A recipe can reuse the egg recipe, supporting the eggs, find-links, 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 pythonoptions. This is done by creating an egg
recipe instance in a recipes's contructor. In the recipe's install recipe instance in a recipes's contructor. In the recipe's install
script, the egg-recipe instance's working_set method to collect the script, the egg-recipe instance's working_set method to collect the
requested eggs and working set. requested eggs and working set.
......
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