Bug#1041633: cmake: FindPython.cmake returns /usr/local/lib/python3.11/dist-packages for Python_SITEARCH

Adrian Bunk bunk at debian.org
Wed Jul 26 18:10:39 BST 2023


On Sun, Jul 23, 2023 at 04:54:56PM +0200, Timo Röhling wrote:
> On Sun, 23 Jul 2023 15:59:19 +0200 Sebastiaan Couwenberg <sebastic at xs4all.nl> wrote:
> > Control: tags -1 pending
> > 
> > On 7/23/23 15:26, Timo Röhling wrote:
> > > It is the package maintainer's responsibility to set
> > > DEB_PYTHON_INSTALL_LAYOUT=deb in d/rules, either implicitly through
> > > the use of pybuild, or explicitly with "export
> > > DEB_PYTHON_INSTALL_LAYOUT", as you already did in Salsa.
> > 
> > The advise for packages should be DEB_PYTHON_INSTALL_LAYOUT=deb_system
> > based on the python3 changelog as that's intended for package builds.
> You are right. "deb" also works, but "deb_system" is the canonical
> scheme name.

Is it really the package maintainer's responsibility to set this manually,
or should something (dh-python?) do that automatically?[1]

> Cheers
> Timo

cu
Adrian

[1] with cmake adding a Breaks against unfixed versions of something



More information about the Pkg-grass-devel mailing list