[Checkins] SVN: zc.buildout/branches/help-api/zc.recipe.egg_/src/zc/recipe/egg/custom.py whitespace
Godefroid Chapelle
gotcha at bubblenet.be
Sun Mar 29 17:16:55 EDT 2009
Log message for revision 98466:
whitespace
Changed:
U zc.buildout/branches/help-api/zc.recipe.egg_/src/zc/recipe/egg/custom.py
-=-
Modified: zc.buildout/branches/help-api/zc.recipe.egg_/src/zc/recipe/egg/custom.py
===================================================================
--- zc.buildout/branches/help-api/zc.recipe.egg_/src/zc/recipe/egg/custom.py 2009-03-29 21:16:48 UTC (rev 98465)
+++ zc.buildout/branches/help-api/zc.recipe.egg_/src/zc/recipe/egg/custom.py 2009-03-29 21:16:55 UTC (rev 98466)
@@ -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