1
0
Fork 0

Updated bootstrap script to invoke buildout

This commit is contained in:
Michaël Lemaire 2015-01-16 01:00:00 +01:00 committed by Michaël Lemaire
parent 6d5b0090a0
commit 03a0ab8e39

View file

@ -140,9 +140,9 @@ def bootstrap_buildout(venv_dir, bootstrap_path):
else:
fp.close()
print("Bootstrapping Buildout using: %s %s..." % (
print("Bootstrapping Buildout using: %s %s install..." % (
python_bin, bootstrap_path))
subprocess.check_call([python_bin, bootstrap_path])
subprocess.check_call([python_bin, bootstrap_path, "install"])
if len(sys.argv) == 2:
@ -159,4 +159,3 @@ venv_dir = create_virtualenv(destination)
bootstrap_path = download_bootstrap(destination)
bootstrap_buildout(venv_dir, bootstrap_path)
print("You can know run ./bin/buildout from directory %s" % real_destination)