Created
May 14, 2019 17:21
-
-
Save MilesCranmer/55e32533760584570801f51d6356713a to your computer and use it in GitHub Desktop.
Build vim in a conda environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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