Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

create-production-venv: Do not pull in "recommended" packages.

Alex Vandivere8f7e281a7d3
diff --git a/scripts/lib/create-production-venv b/scripts/lib/create-production-venv
index b0c285f32df..49402513a66 100755
--- a/scripts/lib/create-production-venv
+++ b/scripts/lib/create-production-venv
@@ -20,7 +20,7 @@ vendor = distro_info["ID"]
os_version = distro_info["VERSION_ID"]
VENV_DEPENDENCIES = get_venv_dependencies(vendor, os_version)
if "debian" in os_families():
- run(["apt-get", "-y", "install", *VENV_DEPENDENCIES])
+ run(["apt-get", "-y", "install", "--no-install-recommends", *VENV_DEPENDENCIES])
elif "fedora" in os_families():
run(["yum", "-y", "install", *VENV_DEPENDENCIES])
else: