pinch-dotfiles/salty/base/python_env/map.jinja

25 lines
737 B
Text
Raw Normal View History

{% set python_env = salt['grains.filter_by']({
'Debian': {
2017-03-19 02:47:09 +00:00
'pip': 'python3',
2017-03-19 02:33:29 +00:00
'pip_bin_env': '/usr/bin/pip3',
'virtualenv': 'virtualenv',
'virtualenvwrapper': 'virtualenvwrapper',
'python_path': '/usr/bin/python3',
},
'Arch': {
'pip': 'python-pip',
2017-03-19 02:33:29 +00:00
'pip_bin_env': '/usr/bin/pip',
'virtualenv': 'virtualenv',
'virtualenvwrapper': 'virtualenvwrapper',
'python_path': '/usr/bin/python',
},
'MacOS': {
'pip': 'python3',
2017-03-19 02:33:29 +00:00
'pip_bin_env': '/usr/local/bin/pip3',
'virtualenv': 'virtualenv',
'virtualenvwrapper': 'virtualenvwrapper',
'python_path': '/usr/local/bin/python3',
},
}, default='Debian' ) %}