pcp
[Top] [All Lists]

Re: QA Status - python tests

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: QA Status - python tests
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 05 Dec 2012 11:44:09 +1100
Cc: pcp@xxxxxxxxxxx, "Frank Ch. Eigler" <fche@xxxxxxxxxx>
In-reply-to: <932602507.40913446.1354666824782.JavaMail.root@xxxxxxxxxx>
References: <932602507.40913446.1354666824782.JavaMail.root@xxxxxxxxxx>
On Tue, 2012-12-04 at 19:20 -0500, Nathan Scott wrote:
> > 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)

Worked a treat ... thanks.  Modules land in a place python is looking
and check -g pcp.py all passes now.

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