Permalink
Browse files

Working on it

  • Loading branch information...
mortenvp committed May 13, 2018
1 parent bb38fa4 commit fbbd1ff7ff881ca9fa3a61d52a6049dcef85807a
Showing with 13 additions and 0 deletions.
  1. +13 −0 src/git_sphinx_build/virtualenv.py
@@ -76,3 +76,16 @@ def from_git(git, clone_path, log):
prompt = commandline.Prompt(env=env)
return VirtualEnv(prompt=prompt, log=log)
class NameToPathAdapter(object):
def __init__(self, virtualenv, virtualenv_path):
self.virtualenv = virtualenv
self.virtualenv_path = virtualenv_path
def create_environment(self, name):
path = os.path.join(self.virtualenv_path, name)
return self.virtualenv.create_environment(path=path)

0 comments on commit fbbd1ff

Please sign in to comment.