Skip to content

Instantly share code, notes, and snippets.

@MilesCranmer
Created May 14, 2019 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MilesCranmer/55e32533760584570801f51d6356713a to your computer and use it in GitHub Desktop.
Save MilesCranmer/55e32533760584570801f51d6356713a to your computer and use it in GitHub Desktop.
Build vim in a conda environment
#!/bin/bash
#This builds vim with python + python3 support in a conda environment. No sudo required! Replace the directories to your own.
vi_cv_path_python=/mnt/home/mcranmer/miniconda3/envs/py27/bin/python \
vi_cv_path_python3=/mnt/home/mcranmer/miniconda3/envs/main/bin/python \
./configure \
--with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-pythoninterp=yes \
--with-python-config-dir=/mnt/home/mcranmer/miniconda3/envs/py27/lib/python2.7/config \
--enable-python3interp=yes \
--with-python3-config-dir=/mnt/home/mcranmer/miniconda3/envs/main/lib/python3.7/config-3.7m-x86_64-linux-gnu \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-gui=gtk2 \
--enable-cscope \
--prefix=/mnt/home/mcranmer/vim36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment