From 09747e524586a0c7e923fb8e1261fe9c37677f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wuyi=E6=97=A0=E7=96=91?= <444835641@qq.com> Date: Sat, 11 Mar 2023 22:05:06 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=96=B0=E5=A2=9E`get=5Fres=5Fpath?= =?UTF-8?q?`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gsuid_core/data_store.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 gsuid_core/data_store.py diff --git a/gsuid_core/data_store.py b/gsuid_core/data_store.py new file mode 100644 index 0000000..c9d2602 --- /dev/null +++ b/gsuid_core/data_store.py @@ -0,0 +1,7 @@ +from pathlib import Path + +gs_data_path = Path(__file__).parents[1] / 'data' + + +def get_res_path() -> Path: + return gs_data_path