diff --git a/src/spkg/hatch/__init__.py b/src/spkg/hatch/__init__.py index d837c25..b48fa57 100644 --- a/src/spkg/hatch/__init__.py +++ b/src/spkg/hatch/__init__.py @@ -23,7 +23,8 @@ def simple_config(self): self.config("template.licenses.default", "['GPL-3.0-only']") self.config("template.plugins.default.tests", "false") def metadata(self, field): - return self.hatch_output(["project", "metadata", field]) + result = self.hatch_output(["project", "metadata", field]) + return result[:-1] def clean(self): self.hatch(["clean"]) def build(self):