add Python package configuration

The global configuration builds one large package.
This commit is contained in:
Sarah Hoffmann
2024-05-14 00:05:36 +02:00
parent b0067a0345
commit 0fb4fe8e4d
8 changed files with 103 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ class Configuration:
""" Set paths to library functions and data.
"""
for key, value in kwargs.items():
setattr(self.lib_dir, key, Path(value))
setattr(self.lib_dir, key, None if value is None else Path(value))
def __getattr__(self, name: str) -> str: