Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Fix for taiyaki install in location with long path name. Issue and wo…
Browse files Browse the repository at this point in the history
…rkaround described here: pypa/virtualenv#596
  • Loading branch information
marcus1487 authored and myrtlecat committed May 30, 2019
1 parent 3f70021 commit 34d07d1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ install:
rm -rf ${envDir}
virtualenv --python=${PYTHON} --prompt=${envPrompt} ${envDir}
source ${envDir}/bin/activate && \
pip install pip --upgrade && \
${PYTHON} ${envDir}/bin/pip install pip --upgrade && \
mkdir -p ${buildDir}/wheelhouse/${CUDA} && \
pip download --dest ${buildDir}/wheelhouse/${CUDA} ${TORCH} && \
pip install --find-links ${buildDir}/wheelhouse/${CUDA} --no-index torch && \
pip install -r requirements.txt ${CUPY} && \
pip install -r develop_requirements.txt && \
${PYTHON} ${envDir}/bin/pip download --dest ${buildDir}/wheelhouse/${CUDA} ${TORCH} && \
${PYTHON} ${envDir}/bin/pip install --find-links ${buildDir}/wheelhouse/${CUDA} --no-index torch && \
${PYTHON} ${envDir}/bin/pip install -r requirements.txt ${CUPY} && \
${PYTHON} ${envDir}/bin/pip install -r develop_requirements.txt && \
${PYTHON} setup.py develop
@echo "To activate your new environment: source ${envDir}/bin/activate"

Expand Down Expand Up @@ -91,7 +91,7 @@ unittest:
accset ?=
acctest:
mkdir -p ${buildDir}/acctest
pip install -r test/acceptance/requirements.txt
${PYTHON} ${envDir}/bin/pip install -r test/acceptance/requirements.txt
cd ${buildDir}/acctest && ${PYTHON} -m pytest ${pyTestArgs} ../../test/acceptance/${accset}


Expand Down

0 comments on commit 34d07d1

Please sign in to comment.