From 8329afed02f5f76bf6cd8d33535437acaf29aca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Schartum=20Dokken?= Date: Sun, 30 Jun 2024 10:12:57 +0200 Subject: [PATCH] Follow rules in: https://peps.python.org/pep-0621/#authors-maintainers (#127) --- src/adios4dolfinx/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/adios4dolfinx/__init__.py b/src/adios4dolfinx/__init__.py index f17683b..8c319da 100644 --- a/src/adios4dolfinx/__init__.py +++ b/src/adios4dolfinx/__init__.py @@ -24,7 +24,10 @@ meta = metadata("adios4dolfinx") __version__ = meta["Version"] -__author__ = meta["Author"] +try: + __author__ = meta["Author"] +except KeyError: + pass __license__ = meta["License"] __email__ = meta["Author-email"] __program_name__ = meta["Name"]