Use stripped down version of Talon.

This commit is contained in:
Umair Khan
2016-07-12 23:14:20 +05:00
committed by Tim Abbott
parent f45848f62f
commit 9f42fda7f4
3 changed files with 1 additions and 20 deletions

View File

@@ -1,12 +1,5 @@
talon==1.2.10 git+https://github.com/umairwaheed/talon.git@strip-talon --install-option="--no-ml"
cchardet==1.0.0 cchardet==1.0.0
cssselect==0.9.2 cssselect==0.9.2
lxml==3.6.0 lxml==3.6.0
regex==2016.6.19 regex==2016.6.19
# Currently, Scikit-Learn and Numpy cannot be installed with pip in one
# install pass. See https://github.com/scikit-learn/scikit-learn/issues/4164
# for further details.
-r numpy.txt
scikit-learn==0.16.1

View File

@@ -1,5 +0,0 @@
# Currently, Scikit-Learn and Numpy cannot be installed with pip in one
# install pass. See https://github.com/scikit-learn/scikit-learn/issues/4164
# for further details.
numpy==1.11.0
scipy==0.17.1

View File

@@ -69,12 +69,5 @@ def do_setup_virtualenv(venv_path, requirements_file, virtualenv_args):
exec(open(activate_this).read(), {}, dict(__file__=activate_this)) # type: ignore # https://github.com/python/mypy/issues/1577 exec(open(activate_this).read(), {}, dict(__file__=activate_this)) # type: ignore # https://github.com/python/mypy/issues/1577
run(["pip", "install", "--upgrade", "pip", "wheel"]) run(["pip", "install", "--upgrade", "pip", "wheel"])
# Currently, Scikit-Learn and Numpy cannot be installed with pip in one
# install pass. See https://github.com/scikit-learn/scikit-learn/issues/4164
# for further details.
if 'dev.txt' in requirements_file or 'prod.txt' in requirements_file:
numpy = os.path.join(ZULIP_PATH, 'requirements', 'numpy.txt')
run(["pip", "install", "--no-deps", "--requirement", numpy])
run(["pip", "install", "--no-deps", "--requirement", requirements_file]) run(["pip", "install", "--no-deps", "--requirement", requirements_file])
run(["sudo", "chmod", "-R", "a+rX", venv_path]) run(["sudo", "chmod", "-R", "a+rX", venv_path])