Skip to content

Commit

Permalink
Top level make file: change check for python3 venv.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeov committed Dec 12, 2023
1 parent 77bc28b commit 3be4db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ tarball: hadoop-jars python

.PHONY: python
python: build
if python3 -m venv -h >/dev/null 2>&1 ; then \
if python3 -c 'import venv' >/dev/null 2>&1 ; then \
cd build/${BUILD_TYPE} && \
rm -rf python-qfs && mkdir python-qfs && cd python-qfs && \
ln -s .. qfs && \
Expand All @@ -135,7 +135,7 @@ python: build
. .venv/bin/activate && python -m pip install build && \
python -m build -w . ; \
else \
echo 'python3 -m venv is not available'; \
echo 'python3 module venv is not available'; \
fi

.PHONY: mintest
Expand Down

0 comments on commit 3be4db4

Please sign in to comment.