Simplify create_venv().

See #463.
This commit is contained in:
Florian Bruhin 2015-01-23 11:53:40 +01:00
parent 816fcf3a6c
commit 2264b55e92

View File

@ -158,11 +158,7 @@ def create_venv():
builder = venv.EnvBuilder(system_site_packages=system_site_packages,
clear=clear, upgrade=upgrade,
symlinks=symlinks, with_pip=True)
context = builder.ensure_directories(g_path)
builder.create_configuration(context)
builder.setup_python(context)
builder.setup_scripts(context)
builder.create(g_path)
def main():