pcp
[Top] [All Lists]

Re: QA Status - python tests

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: QA Status - python tests
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 4 Dec 2012 19:20:24 -0500 (EST)
Cc: pcp@xxxxxxxxxxx, "Frank Ch. Eigler" <fche@xxxxxxxxxx>
In-reply-to: <1354661142.4291.28.camel@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
> Looks like everything you can hit with a big stick _except_ the place
> pcp_python is installing our modules ... (note dist-packages, not
> site-packages)

Does this help?

diff --git a/src/include/builddefs.in b/src/include/builddefs.in
index 4a9b56b..f5c4f8e 100644
--- a/src/include/builddefs.in
+++ b/src/include/builddefs.in
@@ -453,7 +453,7 @@ SETUP_PY_INSTALL_OPTIONS += --root=$${DIST_ROOT-/}
 SETUP_PY_INSTALL_OPTIONS += --record=$(TOPDIR)/python-pcp.list
 ifeq "$(PYTHON_PREFIX)" "/usr"
 ifeq "$(PACKAGE_DISTRIBUTION)" "debian"
-SETUP_PY_INSTALL_OPTIONS += --prefix=$(PYTHON_PREFIX)
+SETUP_PY_INSTALL_OPTIONS += --install-layout=deb
 endif
 else
 SETUP_PY_INSTALL_OPTIONS += --prefix=$(PYTHON_PREFIX)


Will try it out here shortly, lemme know though.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>