From 5c92639f81752b19ded00c155fd07721512d3de6 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 18 Jun 2016 15:56:58 -0700 Subject: [PATCH] Move mypy requirements to requirements/ directory. --- provision.py | 2 +- tools/setup/py3_test_reqs.txt => requirements/mypy.txt | 0 tools/install-mypy | 2 +- tools/travis/setup-mypy | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename tools/setup/py3_test_reqs.txt => requirements/mypy.txt (100%) diff --git a/provision.py b/provision.py index b6291aca40..ef52668467 100644 --- a/provision.py +++ b/provision.py @@ -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")) diff --git a/tools/setup/py3_test_reqs.txt b/requirements/mypy.txt similarity index 100% rename from tools/setup/py3_test_reqs.txt rename to requirements/mypy.txt diff --git a/tools/install-mypy b/tools/install-mypy index d5577734b2..c39ceb5f39 100755 --- a/tools/install-mypy +++ b/tools/install-mypy @@ -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" diff --git a/tools/travis/setup-mypy b/tools/travis/setup-mypy index 3ae4f1e680..83dcec7a5e 100755 --- a/tools/travis/setup-mypy +++ b/tools/travis/setup-mypy @@ -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