summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2021-02-18 12:29:18 +0100
committerJustin Mayer <entroP@gmail.com>2021-02-18 12:29:18 +0100
commit27762d2cf70fd76f0f3f76ea02b7cf8bfa4e1236 (patch)
tree82fb6068eecb43e9a7591441ef5025114839f2ef
parent7a26f509dfc76d7fcd4d2d28eac02aae0a8fbd17 (diff)
downloadpelican-27762d2cf70fd76f0f3f76ea02b7cf8bfa4e1236.tar.gz
Make PKG_PATH var in Invoke tasks.py more DRY
-rw-r--r--tasks.py2
1 files changed, 1 insertions, 1 deletions
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)