pinch-dotfiles/salty/base/python_env/map.jinja
Elijah Lazkani eb52bb6144 Adding a new salt state
Fixing the neovim install
Tying things together in top
2017-03-18 22:21:08 -04:00

24 lines
738 B
Django/Jinja

{% set python_env = salt['grains.filter_by']({
'Debian': {
'pip': 'python3-pip',
'pip_bin_env: '/usr/bin/pip3',
'virtualenv': 'virtualenv',
'virtualenvwrapper': 'virtualenvwrapper',
'python_path': '/usr/bin/python3',
},
'Arch': {
'pip': 'python-pip',
'pip_bin_env: '/usr/bin/pip',
'virtualenv': 'virtualenv',
'virtualenvwrapper': 'virtualenvwrapper',
'python_path': '/usr/bin/python',
},
'MacOS': {
'pip': 'python3',
'pip_bin_env: '/usr/local/bin/pip3',
'virtualenv': 'virtualenv',
'virtualenvwrapper': 'virtualenvwrapper',
'python_path': '/usr/local/bin/python3',
},
}, default='Debian' ) %}