From 81eef60e641a0cf3de56a075bceff96cd50576c5 Mon Sep 17 00:00:00 2001 From: Shawn Davis Date: Sun, 6 Sep 2020 12:18:11 -0400 Subject: [PATCH] Separated variables from constants. --- scripttease/constants.py | 9 --------- scripttease/variables.py | 7 +++++++ 2 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 scripttease/variables.py diff --git a/scripttease/constants.py b/scripttease/constants.py index 77670a7..26d0a12 100644 --- a/scripttease/constants.py +++ b/scripttease/constants.py @@ -1,10 +1 @@ -import os - -__all__ = ( - "LOGGER_NAME", - "PATH_TO_SCRIPT_TEASE", -) - LOGGER_NAME = "script-tease" - -PATH_TO_SCRIPT_TEASE = os.path.abspath(os.path.dirname(__file__)) diff --git a/scripttease/variables.py b/scripttease/variables.py new file mode 100644 index 0000000..3cfa650 --- /dev/null +++ b/scripttease/variables.py @@ -0,0 +1,7 @@ +import os + +__all__ = ( + "PATH_TO_SCRIPT_TEASE", +) + +PATH_TO_SCRIPT_TEASE = os.path.abspath(os.path.dirname(__file__))