Add "location" parameter in librecipe.

Set to buildout['buildout']['parts-directory'] + name by default.
Used in 50% of the recipes.
parent 113f5229
......@@ -61,6 +61,10 @@ class GenericBaseRecipe(object):
self._ws = self.getWorkingSet()
if not options.get('location'):
options['location'] = os.path.join(
buildout['buildout']['parts-directory'], self.name)
def update(self):
"""By default update method does the same thing than install"""
return self.install()
......
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