Use pip install . in quickstart [ci skip]

This commit is contained in:
Ines Montani 2020-11-10 17:27:49 +08:00
parent de6453940e
commit 3ca5c7082d

View File

@ -177,11 +177,9 @@ const QuickstartInstall = ({ id, title }) => {
</QS> </QS>
<QS package="source">pip install -r requirements.txt</QS> <QS package="source">pip install -r requirements.txt</QS>
<QS package="source">python setup.py build_ext --inplace</QS> <QS package="source">python setup.py build_ext --inplace</QS>
<QS package="source">python setup.py install</QS> <QS package="source">
{(train || hardware == 'gpu') && ( pip install {train || hardware == 'gpu' ? `'.[${pipExtras}]'` : '.'}
<QS package="source">pip install -e '.[{pipExtras}]'</QS> </QS>
)}
<QS config="train" package="conda" comment prompt={false}> <QS config="train" package="conda" comment prompt={false}>
# packages only available via pip # packages only available via pip
</QS> </QS>