mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Make PKG_PATH var in Invoke tasks.py more DRY
This commit is contained in:
parent
7a26f509df
commit
27762d2cf7
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
|
@ -5,7 +5,7 @@ from shutil import which
|
||||||
from invoke import task
|
from invoke import task
|
||||||
|
|
||||||
PKG_NAME = "pelican"
|
PKG_NAME = "pelican"
|
||||||
PKG_PATH = Path("pelican")
|
PKG_PATH = Path(PKG_NAME)
|
||||||
DOCS_PORT = os.environ.get("DOCS_PORT", 8000)
|
DOCS_PORT = os.environ.get("DOCS_PORT", 8000)
|
||||||
BIN_DIR = "bin" if os.name != "nt" else "Scripts"
|
BIN_DIR = "bin" if os.name != "nt" else "Scripts"
|
||||||
ACTIVE_VENV = os.environ.get("VIRTUAL_ENV", None)
|
ACTIVE_VENV = os.environ.get("VIRTUAL_ENV", None)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue