mirror of https://github.com/zulip/zulip.git
Use requirements file for pip/setuptools/wheels in venv setup.
Fixes: #5158.
This commit is contained in:
parent
7980462010
commit
cf503017d2
|
@ -0,0 +1,4 @@
|
|||
# Dependancies for setting up pip to install our requirements.txt file.
|
||||
setuptools==36.0.1
|
||||
pip==9.0.1
|
||||
wheel==0.29.0
|
|
@ -37,8 +37,8 @@ VENV_DEPENDENCIES = [
|
|||
|
||||
def install_venv_deps(requirements_file):
|
||||
# type: (str) -> None
|
||||
run(["pip", "install", "-U", "setuptools==36.0.1"])
|
||||
run(["pip", "install", "--upgrade", "pip", "wheel"])
|
||||
pip_requirements = os.path.join(ZULIP_PATH, "requirements", "pip.txt")
|
||||
run(["pip", "install", "-U", "--requirement", pip_requirements])
|
||||
run(["pip", "install", "--no-deps", "--requirement", requirements_file])
|
||||
|
||||
def get_index_filename(venv_path):
|
||||
|
|
Loading…
Reference in New Issue