mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
thumbor: Add dependencies and virtualenv setup script.
In this commit we add new dependencies needed for running thumbor. Also we add the script for creating the virtual environment ready for thumbor. Note: Thumbor will use python2 and thus have different virtualenv dedicated to it. Credits to @TigorC and @joshland as well for there work on this.
This commit is contained in:
committed by
Tim Abbott
parent
66060c703c
commit
dd037df2c4
@@ -37,6 +37,14 @@ VENV_DEPENDENCIES = [
|
||||
"libpq-dev", # Needed by psycopg2
|
||||
]
|
||||
|
||||
THUMBOR_VENV_DEPENDENCIES = [
|
||||
"libcurl4-openssl-dev",
|
||||
"libjpeg-dev",
|
||||
"libjasper-dev",
|
||||
"libpng-dev",
|
||||
"gifsicle",
|
||||
]
|
||||
|
||||
def install_venv_deps(requirements_file):
|
||||
# type: (str) -> None
|
||||
pip_requirements = os.path.join(ZULIP_PATH, "requirements", "pip.txt")
|
||||
|
||||
Reference in New Issue
Block a user