summaryrefslogtreecommitdiffstats
path: root/meta/classes/python-dir.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* python3-dir.bbclass: add a separate class for Python 3Alexander Kanavin2016-06-011-3/+3
| | | | | | | | | | This is much cleaner than sharing python-dir.bbclass between python 2 and 3 classes, and doing confusing overrides in them. (From OE-Core rev: 3891fcec863602a0ae6d0f3d305ea50a79a205d9) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distutils: Introduce PYTHON_ABI variableKhem Raj2014-02-021-0/+1
| | | | | | | | | | | | | | | | 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 (From OE-Core rev: 9a3e4ac4a4eeed64ec80d400130dff3d26daf336) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/distutils: Introduce PYTHON_PNKhem Raj2014-02-021-0/+1
| | | | | | | | | | This is needed to accomodate python3 alongside python2 (From OE-Core rev: ae931c2cf9e48e1fb74b4b727dbf668ea880023f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-dir: change PYTHON_BASEVERSION to 2.7Martin Jansa2011-10-311-1/+1
| | | | | | | | | | | * 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" (From OE-Core rev: 4bde680a97e954bb53df63090dcc2a0a9d488292) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-dir.bbclass: define default PYTHON_BASEVERSIONMartin Jansa2011-04-181-0/+1
| | | | | | | (From OE-Core rev: 4471f82c720c9d223f69c4cc5591094cc4ff4e5e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-dir bbclass: import from OEKoen Kooi2011-01-201-0/+2
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>