Added automx support.

see #98
This commit is contained in:
Antoine Nguyen
2017-02-09 14:40:39 +01:00
parent 48227fcf5f
commit 5f36d6231f
14 changed files with 273 additions and 54 deletions

View File

@@ -6,6 +6,14 @@ from . import package
from . import utils
def get_path(cmd, venv=None):
"""Return path to cmd."""
path = cmd
if venv:
path = os.path.join(venv, "bin", path)
return path
def get_pip_path(venv):
"""Return the full path to pip command."""
binpath = "pip"