[Checkins]
SVN: zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/custom.py
whitespace
Christian Zagrodnick
cz at gocept.com
Mon Feb 18 04:08:34 EST 2008
Log message for revision 84010:
whitespace
Changed:
U zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/custom.py
-=-
Modified: zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/custom.py
===================================================================
--- zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/custom.py 2008-02-18 09:01:13 UTC (rev 84009)
+++ zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/custom.py 2008-02-18 09:08:33 UTC (rev 84010)
@@ -21,6 +21,7 @@
logger = logging.getLogger(__name__)
+
class Base:
def __init__(self, buildout, name, options):
@@ -33,10 +34,10 @@
self.build_ext = build_ext(buildout, options)
-
def update(self):
return self.install()
+
class Custom(Base):
def __init__(self, buildout, name, options):
@@ -74,8 +75,8 @@
distribution = self.name
else:
logger.warn("The eggs option is deprecated. Use egg instead")
-
-
+
+
distribution = options.get('egg', options.get('eggs', self.name)
).strip()
return zc.buildout.easy_install.build(
@@ -83,7 +84,8 @@
self.links, self.index, options['executable'], [options['_e']],
newest=self.newest,
)
-
+
+
class Develop(Base):
def __init__(self, buildout, name, options):
@@ -97,8 +99,8 @@
options['setup'], options['_d'], self.build_ext,
options['executable'],
)
-
+
def build_ext(buildout, options):
result = {}
for be_option in ('include-dirs', 'library-dirs', 'rpath'):
More information about the Checkins
mailing list