mirror of https://github.com/zulip/zulip.git
Move mypy requirements to requirements/ directory.
This commit is contained in:
parent
666041e1b2
commit
5c92639f81
|
@ -198,7 +198,7 @@ def main():
|
|||
run(["sudo", "dpkg", "--install", temp_deb_path])
|
||||
|
||||
setup_virtualenv(PY3_VENV_PATH,
|
||||
os.path.join(ZULIP_PATH, "tools", "setup", "py3_test_reqs.txt"),
|
||||
os.path.join(ZULIP_PATH, "requirements", "mypy.txt"),
|
||||
virtualenv_args=['-p', 'python3'])
|
||||
setup_virtualenv(VENV_PATH, os.path.join(ZULIP_PATH, "requirements.txt"))
|
||||
|
||||
|
|
|
@ -30,4 +30,4 @@ source "$PY3_VENV_PATH/bin/activate"
|
|||
|
||||
# install mypy
|
||||
sudo "$PY3_VENV_PATH/bin/pip3" install --upgrade pip
|
||||
sudo "$PY3_VENV_PATH/bin/pip3" install --upgrade --no-deps -r "$TOOLS_DIR/setup/py3_test_reqs.txt"
|
||||
sudo "$PY3_VENV_PATH/bin/pip3" install --upgrade --no-deps -r "$TOOLS_DIR/../requirements/mypy.txt"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
pip install --no-deps -r tools/setup/py3_test_reqs.txt
|
||||
pip install --no-deps -r requirements/mypy.txt
|
||||
|
|
Loading…
Reference in New Issue