summaryrefslogtreecommitdiffstats
path: root/meta/classes/python-dir.bbclass
AgeCommit message (Collapse)Author
2020-01-19python: remove Python 2 and all supporting classesRoss Burton
Python 2 ceased being maintained on the 1st January 2020. We've already removed all users of it from oe-core so the final step is to move the recipe and supporting classes to meta-python2. The following are removed in this commit: - python and python-native 2.7.17 - python-setuptools - The classes pythonnative, pythondir, distutils, setuptools Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-30python3-dir.bbclass: add a separate class for Python 3Alexander Kanavin
This is much cleaner than sharing python-dir.bbclass between python 2 and 3 classes, and doing confusing overrides in them. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2014-02-02distutils: Introduce PYTHON_ABI variableKhem Raj
In python3 this has to be taken care of, it defines a variable to denote ABI currently its at 'm' and it uses this to construct the directory names for installing the python headers and library names in sysroot. e.g. it will be something like ../python3.3m/... We need this information when we are using distutils to cross build python extentions and want to know the locations of python headers and libraries install locations Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-02-02classes/distutils: Introduce PYTHON_PNKhem Raj
This is needed to accomodate python3 alongside python2 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-10-31python-dir: change PYTHON_BASEVERSION to 2.7Martin Jansa
* it's also defined here conf/distro/include/default-versions.inc, so maybe it could be dropped * and similar variable is recipes-devtools/python/python.inc:PYTHON_MAJMIN = "2.7" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-04-18python-dir.bbclass: define default PYTHON_BASEVERSIONMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-01-20python-dir bbclass: import from OEKoen Kooi
This will be used later on when updating the distutils classes A small deviation from OE is the use of PYTHON_BASEVERSION instead of non-deterministic python code. See https://lists.yoctoproject.org/pipermail/poky/2011-January/002320.html for some background info Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>