1
0
Fork 0
forked from github/pelican

Make PKG_PATH var in Invoke tasks.py more DRY

This commit is contained in:
Justin Mayer 2021-02-18 12:29:18 +01:00
commit 27762d2cf7

View file

@ -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)