def make_recipe(name, dependencies=()):
    os.makedirs(name)
    with open(os.path.join(name, 'meta.yaml'), 'w') as f:
        f.write('package:\n')
        f.write('   name: {0}\n'.format(name))
        f.write('   version: 1.0\n')
        if dependencies:
            f.write('requirements:\n')
            f.write('    build:\n')
            for dep in dependencies:
                f.write('        - {0}\n'.format(dep))
def make_recipe(name, dependencies=()):
    os.makedirs(name)
    with open(os.path.join(name, 'meta.yaml'), 'w') as f:
        f.write('package:\n')
        f.write('   name: {0}\n'.format(name))
        f.write('   version: 1.0\n')
        if dependencies:
            f.write('requirements:\n')
            f.write('    build:\n')
            for dep in dependencies:
                f.write('        - {0}\n'.format(dep))