Commit 23a9662c authored by Gary Poster's avatar Gary Poster

Bugfix for the change introduced in zc.recipe.egg 1.3.1.

parent f3ee3fcd
Change History Change History
************** **************
1.3.2 (unreleased) 1.3.2 (2010-08-23)
================== ==================
(No changes yet.) - Bugfix for the change introduced in 1.3.1.
1.3.1 (2010-08-23) 1.3.1 (2010-08-23)
================== ==================
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"""Setup for zc.recipe.egg package """Setup for zc.recipe.egg package
""" """
version = '1.3.2dev' version = '1.3.2'
import os import os
from setuptools import setup, find_packages from setuptools import setup, find_packages
......
...@@ -200,6 +200,9 @@ Egg = Scripts ...@@ -200,6 +200,9 @@ Egg = Scripts
class _BackwardsSupportOption(UserDict.UserDict): class _BackwardsSupportOption(UserDict.UserDict):
def __init__(self, data):
self.data = data # We want to show mutations to the underlying dict.
def query_bool(self, name, default=None): def query_bool(self, name, default=None):
"""Given a name, return a boolean value for that name. """Given a name, return a boolean value for that name.
......
...@@ -41,11 +41,10 @@ not intended. ...@@ -41,11 +41,10 @@ not intended.
>>> import zc.buildout.buildout >>> import zc.buildout.buildout
>>> import zc.recipe.egg >>> import zc.recipe.egg
>>> faux_egg_options = { >>> faux_egg_options = {'find-links': 'example.com'}
... 'find-links': 'example.com',
... 'bin-directory': '/somewhere/over/rainbow'}
>>> faux_buildout_options = zc.buildout.buildout._unannotate_section( >>> faux_buildout_options = zc.buildout.buildout._unannotate_section(
... zc.buildout.buildout._buildout_default_options.copy()) ... zc.buildout.buildout._buildout_default_options.copy())
>>> faux_buildout_options['bin-directory'] = '/somewhere/over/rainbow'
>>> faux_buildout = { >>> faux_buildout = {
... 'faux': faux_egg_options, 'buildout': faux_buildout_options} ... 'faux': faux_egg_options, 'buildout': faux_buildout_options}
>>> scripts = zc.recipe.egg.Scripts( >>> scripts = zc.recipe.egg.Scripts(
......
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