diff --git a/DisplayCAL/__version__.py b/DisplayCAL/__version__.py
new file mode 100644
index 00000000..28eceb81
--- /dev/null
+++ b/DisplayCAL/__version__.py
@@ -0,0 +1,7 @@
+# generated by setup.py
+
+BUILD_DATE = "2022-11-21T22:56:25Z"
+LASTMOD = '2022-11-21T22:55:57Z'
+VERSION = (3, 9, 13)
+VERSION_BASE = (3, 9, 13)
+VERSION_STRING = '3.9.13_pre20240925'
diff --git a/DisplayCAL/setup.py b/DisplayCAL/setup.py
index 27425a18..43b6143b 100644
--- a/DisplayCAL/setup.py
+++ b/DisplayCAL/setup.py
@@ -384,9 +384,12 @@ def get_data(tgt_dir, key, pkgname=None, subkey=None, excludes=None):
     data = []
     for pth in files:
         if not [exclude for exclude in excludes or [] if fnmatch(pth, exclude)]:
-            normalized_path = os.path.normpath(os.path.join(tgt_dir, os.path.dirname(pth)))
-            safe_path = [relpath(p, src_dir) for p in safe_glob(os.path.join(src_dir, pth))]
-            data.append((normalized_path, safe_path))
+            data.append(
+                (
+                    os.path.normpath(os.path.join(tgt_dir, os.path.dirname(pth))),
+                    safe_glob(os.path.join(src_dir, pth)),
+                )
+            )
     return data
 
 
@@ -659,20 +662,6 @@ def setup():
                 )
             )
 
-    # metainfo / appdata.xml
-    data_files.append(
-        (
-            os.path.join(os.path.dirname(data), "metainfo"),
-            [
-                relpath(
-                    os.path.normpath(
-                        os.path.join(pydir, "..", "dist", f"{appstream_id}.appdata.xml")
-                    ),
-                    source_dir,
-                )
-            ],
-        )
-    )
 
     if sys.platform not in ("darwin", "win32") or do_py2app or do_py2exe:
         # Linux/Unix or py2app/py2exe
-- 
2.45.2