From 3ca5c7082df36a1970277c4accc0f02176dc2459 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Tue, 10 Nov 2020 17:27:49 +0800 Subject: [PATCH] Use pip install . in quickstart [ci skip] --- website/src/widgets/quickstart-install.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/website/src/widgets/quickstart-install.js b/website/src/widgets/quickstart-install.js index df8d971f0..6bb14b687 100644 --- a/website/src/widgets/quickstart-install.js +++ b/website/src/widgets/quickstart-install.js @@ -177,11 +177,9 @@ const QuickstartInstall = ({ id, title }) => { pip install -r requirements.txt python setup.py build_ext --inplace - python setup.py install - {(train || hardware == 'gpu') && ( - pip install -e '.[{pipExtras}]' - )} - + + pip install {train || hardware == 'gpu' ? `'.[${pipExtras}]'` : '.'} + # packages only available via pip