void-packages/common/environment/setup/python.sh

18 lines
410 B
Bash
Raw Normal View History

#
# Useful variables for determining Python version and paths.
#
2016-11-17 16:37:37 +00:00
# set version 2 as the default Python
python_version="2"
py2_ver="2.7"
py2_lib="/usr/lib/python${py2_ver}"
py2_sitelib="${py2_lib}/site-packages"
py2_inc="/usr/include/python${py2_ver}"
py3_ver="3.8"
py3_abiver=""
py3_lib="/usr/lib/python${py3_ver}"
py3_sitelib="${py3_lib}/site-packages"
py3_inc="/usr/include/python${py3_ver}${py3_abiver}"