From f70d733c2423e808e7aa0cc0fbcc602a12b5ea24 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Thu, 9 Feb 2023 19:18:37 +0100 Subject: [PATCH] Read package attrs dynamically from `metadata` module. --- setup.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index 1a3d4b8..9c5d3fa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,11 +1,11 @@ [metadata] name = python-benedict version = attr: benedict.metadata.__version__ -author = Fabio Caccamo -author_email = fabio.caccamo@gmail.com -maintainer = Fabio Caccamo -maintainer_email = fabio.caccamo@gmail.com -description = python-benedict is a dict subclass with keylist/keypath support, normalized I/O operations (base64, csv, ini, json, pickle, plist, query-string, toml, xls, xml, yaml) and many utilities... for humans, obviously. +author = attr: benedict.metadata.__author__ +author_email = attr: benedict.metadata.__email__ +maintainer = attr: benedict.metadata.__author__ +maintainer_email = attr: benedict.metadata.__email__ +description = attr: benedict.metadata.__description__ keywords = python dictionary