--- pyproj/datadir.py.orig	2022-11-27 19:04:46.000000000 +0300
+++ pyproj/datadir.py	2022-11-27 19:05:03.000000000 +0300
@@ -70,7 +70,7 @@
     global _VALIDATED_PROJ_DATA
     if _VALIDATED_PROJ_DATA is not None:
         return _VALIDATED_PROJ_DATA
-    internal_datadir = Path(__file__).absolute().parent / "proj_dir" / "share" / "proj"
+    internal_datadir = Path("%%INTERNAL_DATADIR%%")
     proj_lib_dirs = os.environ.get("PROJ_DATA", os.environ.get("PROJ_LIB", ""))
     prefix_datadir = Path(sys.prefix, "share", "proj")
     conda_windows_prefix_datadir = Path(sys.prefix, "Library", "share", "proj")
