Improve fabfile

This commit is contained in:
Matthew Honnibal 2018-02-28 12:09:53 +01:00
parent 80e9c6bac7
commit aff5f007b3
1 changed files with 2 additions and 1 deletions

3
fabfile.py vendored
View File

@ -46,6 +46,7 @@ def env(lang='python3.6'):
print(venv_local('python --version', capture=True)) print(venv_local('python --version', capture=True))
venv_local('pip install --upgrade setuptools --no-cache-dir') venv_local('pip install --upgrade setuptools --no-cache-dir')
venv_local('pip install pytest --no-cache-dir') venv_local('pip install pytest --no-cache-dir')
venv_local('pip install wheel')
def install(): def install():
@ -73,7 +74,7 @@ def wheel():
def clean(): def clean():
with lcd(path.dirname(__file__)): with lcd(path.dirname(__file__)):
with virtualenv(VENV_DIR) as venv_local: with virtualenv(VENV_DIR) as venv_local:
local('python setup.py clean --all') venv_local('python setup.py clean --all')
def test(): def test():