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

Timo Röhling roehling at debian.org
Sun Jul 23 15:54:56 BST 2023


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.


Cheers
Timo


-- 
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230723/28b1606c/attachment.sig>


More information about the Pkg-grass-devel mailing list