Introduction

This recipe makes it easy to create symbolic links on Unix variants. Links can be specified one by one, or in bulk. Various shortcuts are provided to avoid unnecessary repetition of source & target paths, etc.

Warning: If you’re going to be linking to directories, make sure to see the wiki page on how to work around zc.buildout bug #144228. Otherwise your buildout will fail.

Common options

  • symlink_base option may contain a common (source) base directory for symlinking,

    when links are created for many items from the same directory.

  • symlink_target may contain common target directory, when links are created in the

    same directory.

  • autocreate causes a target directory to be created if it does not exist