From: Kumar Gala <galak@kernel.crashing.org>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/4] python-dir: specify am_cv_python_pythondir & am_cv_python_pyexecdir
Date: Tue, 9 Aug 2011 13:36:29 -0500 [thread overview]
Message-ID: <1312914992-18260-2-git-send-email-galak@kernel.crashing.org> (raw)
In-Reply-To: <1312914992-18260-1-git-send-email-galak@kernel.crashing.org>
autoconf will try and set these to via python.m4:
am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
However this is problematic as this doesnt respect libdir and where
we've actually set python's site package dir to.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
meta/classes/python-dir.bbclass | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass
index 1ceb929..526b3bf 100644
--- a/meta/classes/python-dir.bbclass
+++ b/meta/classes/python-dir.bbclass
@@ -1,3 +1,6 @@
PYTHON_BASEVERSION ?= "2.6"
PYTHON_DIR = "python${PYTHON_BASEVERSION}"
PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"
+
+EXTRA_OECONF += "am_cv_python_pythondir=${PYTHON_SITEPACKAGES_DIR}"
+EXTRA_OECONF += "am_cv_python_pyexecdir=${PYTHON_SITEPACKAGES_DIR}"
--
1.7.3.4
next prev parent reply other threads:[~2011-08-09 18:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-09 18:36 [PATCH 0/4] python libdir / site-packages path cleanup Kumar Gala
2011-08-09 18:36 ` Kumar Gala [this message]
2011-08-09 18:36 ` [PATCH 2/4] xcb-proto: use python-dir class for proper path setting Kumar Gala
2011-08-09 18:36 ` [PATCH 3/4] telepathy-python: utilize python-dir to respect libdir/site-packages path Kumar Gala
2011-08-09 18:36 ` [PATCH 4/4] gnome-doc-utils: respect python-dir setting EXTRA_OECONF Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1312914992-18260-2-git-send-email-galak@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox