Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #15643

Re: Changing hatchling shared-data installation directory: /usr/etc -> /etc

From Timo Röhling <roehling@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Changing hatchling shared-data installation directory: /usr/etc -> /etc
Date 2024-03-24 23:30 +0100
Message-ID <IlEvL-1rsz-5@gated-at.bofh.it> (permalink)
References <IlEcp-1rmu-13@gated-at.bofh.it>
Organization The Debian Project

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Julian,

* Julian Gilbey <julian@d-and-j.net> [2024-03-24 22:00]:
>Now, I can obviously move this to its correct location in 
>debian/rules (either directly or using an appropriate dh-recognised 
>file in debian/), but I wonder whether there is a "better" way to 
>do this.  Is there a way to tell hatchling that shared-data should 
>be installed in / rather than in /usr?  Or if I tell hatchling to 
>use / as the base directory, would that mess everything else up?
I know that both CMake and Meson special-case sysconfdir to point to 
/etc instead of $prefix/etc when installing to /usr. Hatchling 
should follow their lead.


Cheers
Timo


-- 
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Changing hatchling shared-data installation directory: /usr/etc ->  /etc Julian Gilbey <julian@d-and-j.net> - 2024-03-24 23:10 +0100
  Re: Changing hatchling shared-data installation directory: /usr/etc  -> /etc Timo Röhling <roehling@debian.org> - 2024-03-24 23:30 +0100

csiph-web