From d86a2a7a78b8fa85b7f948ea3571efec24adaad7 Mon Sep 17 00:00:00 2001 From: Henning Peters Date: Thu, 18 Feb 2016 22:54:20 +0100 Subject: [PATCH] Update _installation.jade with ```pip install -e .``` we don't need to set the PYTHONPATH anymore also sync build instructions with travis script --- website/src/jade/home/_installation.jade | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/website/src/jade/home/_installation.jade b/website/src/jade/home/_installation.jade index f49388e4f..2a1ae9498 100644 --- a/website/src/jade/home/_installation.jade +++ b/website/src/jade/home/_installation.jade @@ -79,12 +79,11 @@ mixin Option(name, open) | $ git clone https://github.com/honnibal/spaCy.git | $ cd spaCy | $ virtualenv .env && source .env/bin/activate - | $ export PYTHONPATH=`pwd` | $ pip install -r requirements.txt - | $ python setup.py build_ext --inplace + | $ pip install -e . | $ python -m spacy.en.download | $ pip install pytest - | $ py.test spacy/tests/ + | $ python -m pytest spacy p | Python packaging is awkward at the best of times, and it's particularly tricky