in the readme we use pip3, but in build.sh we dont, which makes it not work for me.
diff --git a/build.sh b/build.sh
index da0c3fb..b1bc212 100755
--- a/build.sh
+++ b/build.sh
@@ -41,11 +41,11 @@
exit 2
fi
if [[ -d env ]]; then
- source env/bin/activate && pip -q install --upgrade pip && pip -q install -r requirements.txt >/dev/null
+ source env/bin/activate && pip3 -q install --upgrade pip && pip3 -q install -r requirements.txt >/dev/null
fi
if [[ ! $(pelican -h 2>/dev/null) ]]; then
echo "No pelican installed, attempting install"
- python3 -m venv env && source env/bin/activate && pip -q install --upgrade pip && pip install -r requirements.txt
+ python3 -m venv env && source env/bin/activate && pip3 -q install --upgrade pip && pip3 install -r requirements.txt
if [[ $? -gt 0 ]]; then
echo "Failed pelican install, exiting."
exit 2
@@ -61,4 +61,4 @@
echo "Building Lucene site."
echo "To build and serve live edits locally, run this script with -l argument. Use -h for help."
pelican $@
-fi
\ No newline at end of file
+fi