From 27762d2cf70fd76f0f3f76ea02b7cf8bfa4e1236 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Thu, 18 Feb 2021 12:29:18 +0100 Subject: [PATCH] Make PKG_PATH var in Invoke tasks.py more DRY --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 1d511859..c7e4f42c 100644 --- a/tasks.py +++ b/tasks.py @@ -5,7 +5,7 @@ from shutil import which from invoke import task PKG_NAME = "pelican" -PKG_PATH = Path("pelican") +PKG_PATH = Path(PKG_NAME) DOCS_PORT = os.environ.get("DOCS_PORT", 8000) BIN_DIR = "bin" if os.name != "nt" else "Scripts" ACTIVE_VENV = os.environ.get("VIRTUAL_ENV", None)