keywords
defined in the package.json
file are not included in the Python package metadata
#80
Labels
bug
Something isn't working
Hi! 👋
Description
keywords
is one of the fields defined as dynamic in thepyproject.toml
file, similarly todescription
andurls
, for example. If I'm correct, the values for these fields are obtained from thepackage.json
file via the hatch-nodejs-version metadata hook plugin.However, the
keywords
defined in thepackage.json
file are not included as metadata of the Python package built from this template as expected. To do so, it is necessary to configure the respective metadata hook plugin to include this field,keywords
, as well.Reproduce
environment.yml
file to do so:More information can be found in the try-jupyterlab-extension-template repo.
theme
extension with the default values, for example).RELEASE.md
file.dist/
folder and unzip the wheel/built distribution and source distribution to manually check the metadata files. ThePKG-INFO
file from the source distribution, for example, should look like this (Dynamic: Keywords
on line 4 is the relevant part):Expected behavior
The
keywords
defined in thepackage.json
file are included as metadata in the Python package by including the"keywords"
value in the hatch-nodejs-version metadata hook plugin configuration (pyproject.toml
file):Line 4 of the
PKG-INFO
file shared above should disappear, and the expectedKeywords
entry for the defaultpackage.json
file should look like the following snippet:Let me know what you think and if I can open a PR.
Context
The text was updated successfully, but these errors were encountered: