We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db4bf2a commit c6457e4Copy full SHA for c6457e4
1 file changed
pygame_menu/__init__.py
@@ -19,17 +19,13 @@
19
try:
20
_meta = metadata("pygame-menu")
21
__version__ = _meta.get("Version")
22
- __author__ = _meta.get("Author")
23
- __email__ = _meta.get("Author-email")
+ __author__ = _meta.get("Author-email").split("<")[0][1:-2].strip()
+ __email__ = _meta.get("Author-email").split("<")[1][:-1].strip()
24
__description__ = _meta.get("Summary")
25
__license__ = _meta.get("License")
26
__url__ = _meta.get("Home-page")
27
__module_name__ = _meta.get("Name")
28
except PackageNotFoundError:
29
- __version__ = None
30
-
31
-# Local fallback
32
-if __version__ is None:
33
__version__ = "4.4.3"
34
__author__ = "Pablo Pizarro R."
35
__email__ = "pablo@ppizarror.com"
0 commit comments