How to use virtualenv in makefile

后端 未结 8 1090
-上瘾入骨i
-上瘾入骨i 2020-12-24 04:55

I want to perform several operations while working on a specified virtualenv.

For example command

make install

would be equivalent

8条回答
  •  心在旅途
    2020-12-24 05:26

    You should use this, it's functional for me at moment.

    report.ipynb : merged.ipynb
        ( bash -c "source ${HOME}/anaconda3/bin/activate py27; which -a python; \
            jupyter nbconvert \
            --to notebook \
            --ExecutePreprocessor.kernel_name=python2 \
            --ExecutePreprocessor.timeout=3000 \
            --execute merged.ipynb \
            --output=$< $<" )
    

提交回复
热议问题