def path_resolver(resolver, path):
path = unipath(path)<EOL>if is_environment(path):<EOL><INDENT>return VirtualEnvironment(path)<EOL><DEDENT>raise ResolveError<EOL>
Resolves VirtualEnvironments with a relative or absolute path