1
0
Fork 0

./gen can now load environment itself

It was a bit too annoying to have to enter the venv. Of course, if the
venv does not exist (at the hardcoded (!) path), it still fails.
pub/python-goto
LEdoian 2 years ago
parent d2b9658372
commit dadddffdea

3
gen

@ -1,2 +1,5 @@
#!/bin/sh
python3 -c 'import pelican' 2>/dev/null || . env/bin/activate
pelican "$@"

Loading…
Cancel
Save