import utils
import pkg_resources
import os

path_join = os.path.join
REQ = pkg_resources.Requirement.parse('anabuildout')

class AnacrusisSetup(object):
    def __init__(self, buildout, name, options):
        self.build_dir = buildout['buildout']['directory']

    def update(self):
        pass

    def install(self):
        fh = []
        fh.append(utils.safe_mkdir(path_join(self.build_dir, 'etc')))            
        return tuple()


#fh.extend(utils.safe_populate(REQ, 'patches', path_join(self.build_dir, 'patches')))
