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.
|