diff -r 42de9bf20f40 -r 98537b8e4ca0 sbin/sync/fabfile.py --- a/sbin/sync/fabfile.py Wed Jan 29 15:00:14 2020 +0100 +++ b/sbin/sync/fabfile.py Wed Jan 29 16:53:09 2020 +0100 @@ -32,10 +32,10 @@ with lcd(get_version_path()): tmpd = run('mktemp -d').strip() put('virtualenv/*.txt', tmpd) - run('virtualenv -p /usr/bin/python3 %s' % env.srv_venv_path) + run('/usr/bin/python3 -m venv %s' % env.srv_venv_path) with prefix('source %s/bin/activate' % env.srv_venv_path): - run('pip install -r %s/requirements.txt' % tmpd) - run('pip install -r %s/requirements_srvr.txt' % tmpd) + run('pip3 install -r %s/requirements.txt' % tmpd) + run('pip3 install -r %s/requirements_srvr.txt' % tmpd) run('rm -fr %s' % tmpd)