def unlink(self, path, pkg):
<EOL>for ep in pkg_resources.iter_entry_points(<EOL>group="<STR_LIT>"):<EOL><INDENT>if ep.name.replace("<STR_LIT:->", '<STR_LIT:_>') == pkg.replace("<STR_LIT:->", '<STR_LIT:_>'):<EOL><INDENT>unlinker = ep.load()<EOL>print("<STR_LIT>"<EOL>"<STR_LIT>".format(unlinker, pkg))<EOL>if unlinker(self.ctx, path):<EOL><INDENT>return<EOL><DEDENT><DEDENT><DEDENT>if exists(join(path, '<STR_LIT>', pkg, '<STR_LIT>')):<EOL><INDENT>print("<STR_LIT>".format(pkg))<EOL>self.unlink_android(path, pkg)<EOL><DEDENT>for target in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>if exists(join(path, target, pkg, '<STR_LIT>')):<EOL><INDENT>print("<STR_LIT>".format(pkg))<EOL>self.unlink_ios(path, pkg)<EOL><DEDENT><DEDENT>
Unlink the package in the current directory.