Updated bootstrap script to invoke buildout
This commit is contained in:
parent
6d5b0090a0
commit
03a0ab8e39
|
@ -140,9 +140,9 @@ def bootstrap_buildout(venv_dir, bootstrap_path):
|
||||||
else:
|
else:
|
||||||
fp.close()
|
fp.close()
|
||||||
|
|
||||||
print("Bootstrapping Buildout using: %s %s..." % (
|
print("Bootstrapping Buildout using: %s %s install..." % (
|
||||||
python_bin, bootstrap_path))
|
python_bin, bootstrap_path))
|
||||||
subprocess.check_call([python_bin, bootstrap_path])
|
subprocess.check_call([python_bin, bootstrap_path, "install"])
|
||||||
|
|
||||||
|
|
||||||
if len(sys.argv) == 2:
|
if len(sys.argv) == 2:
|
||||||
|
@ -159,4 +159,3 @@ venv_dir = create_virtualenv(destination)
|
||||||
bootstrap_path = download_bootstrap(destination)
|
bootstrap_path = download_bootstrap(destination)
|
||||||
bootstrap_buildout(venv_dir, bootstrap_path)
|
bootstrap_buildout(venv_dir, bootstrap_path)
|
||||||
|
|
||||||
print("You can know run ./bin/buildout from directory %s" % real_destination)
|
|
||||||
|
|
Loading…
Reference in a new issue