summaryrefslogtreecommitdiffstats
path: root/meta/classes/python-dir.bbclass
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:38:32 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:50:20 +0100
commite2e6f6fe07049f33cb6348780fa975162752e421 (patch)
treeb1813295411235d1297a0ed642b1346b24fdfb12 /meta/classes/python-dir.bbclass
downloadpoky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/classes/python-dir.bbclass')
-rw-r--r--meta/classes/python-dir.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass
new file mode 100644
index 0000000000..0b6a33c2ed
--- /dev/null
+++ b/meta/classes/python-dir.bbclass
@@ -0,0 +1,3 @@
1PYTHON_BASEVERSION ?= "2.7"
2PYTHON_DIR = "python${PYTHON_BASEVERSION}"
3PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"