eb52bb6144
Fixing the neovim install Tying things together in top
30 lines
812 B
Text
30 lines
812 B
Text
pip-install:
|
|
pkg.installed:
|
|
- name: {{ python_env.pip }}
|
|
|
|
virtualenv-install:
|
|
pip.installed:
|
|
- name: {{ python_env.virtualenv }}
|
|
- user: {{ grains.user }}
|
|
- bin_env: {{ python_env.pip_bin_env }}
|
|
- require:
|
|
- pkg: pip-install
|
|
|
|
virtualenvwrapper-install:
|
|
pip.installed:
|
|
- name: {{ python_env.virtualenvwrapper }}
|
|
- user: {{ grains.user }}
|
|
- bin_env: {{ python_env.pip_bin_env }}
|
|
- require:
|
|
- pip: virtualenv-install
|
|
|
|
zsh-virtualenvwrapper:
|
|
file.append:
|
|
- name: {{ grains.homedir }}/.zshrc
|
|
- text:
|
|
- ""
|
|
- "# Adding virtualenvwrapper python binary path"
|
|
- "export VIRTUALENVWRAPPER_PYTHON={{ python_env.python_path }}"
|
|
- ""
|
|
- "# Sourcing virtualenv"
|
|
- "source {{ grains.homedir }}/.local/bin/virtualenvwrapper.sh"
|