From 324221d8ebe03c3c59ab53817d951944aa67c48c Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Sat, 7 Jan 2023 09:51:03 -0600 Subject: [PATCH] reorganizing --- installer.py => installer/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename installer.py => installer/__init__.py (98%) diff --git a/installer.py b/installer/__init__.py similarity index 98% rename from installer.py rename to installer/__init__.py index b391d7c..97d946e 100644 --- a/installer.py +++ b/installer/__init__.py @@ -105,7 +105,8 @@ class Installer: """ directory containing our preferences repo """ - return pathlib.Path(os.path.dirname(os.path.realpath(__file__))) + here = pathlib.Path(os.path.realpath(__file__)) + return here.parent.parent @classmethod @cached_property