Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15642
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Julian Gilbey <julian@d-and-j.net> |
| Newsgroups | linux.debian.maint.python |
| Subject | Changing hatchling shared-data installation directory: /usr/etc -> /etc |
| Date | Sun, 24 Mar 2024 23:10:01 +0100 |
| Message-ID | <IlEcp-1rmu-13@gated-at.bofh.it> (permalink) |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sun Mar 24 22:00:32 2024 |
| Old-Return-Path | <julian@d-and-j.net> |
| X-Amavis-Spam-Status | No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/21647 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/ZgCia3FwLYfVJbO0@d-and-j.net |
| Approved | robomod@news.nic.it |
| Lines | 22 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sun, 24 Mar 2024 22:00:11 +0000 |
| X-Original-Message-ID | <ZgCia3FwLYfVJbO0@d-and-j.net> |
| Xref | csiph.com linux.debian.maint.python:15642 |
Show key headers only | View raw
I'm trying to package jupyter-server-terminals, and have hit a snag. The pyproject.toml file includes the lines: [tool.hatch.build.targets.wheel.shared-data] "jupyter-config" = "etc/jupyter/jupyter_server_config.d" but the resulting file is installed at /usr/etc/jupyter/jupyter_server_config.d 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 couldn't figure it out from a quick skim of the hatchling docs, so any thoughts or pointers would be welcome. Thanks! Julian
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll 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