Skip to content

Commit

Permalink
Merge pull request #470 from libAtoms/no_pip_exec
Browse files Browse the repository at this point in the history
Use python -m pip instead of the pip executable
  • Loading branch information
jameskermode authored Sep 16, 2022
2 parents 37a89a2 + 6028756 commit 04faa82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions quippy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ include Makefile.rules

PY_VERSION=$(shell ${PYTHON} -c "import sys;t='{v[0]}.{v[1]}'.format(v=list(sys.version_info[:2]));sys.stdout.write(t)")
HAVE_PYTHON3=$(shell ${PYTHON} -c 'import sys; print(int(sys.version_info[0] >= 3))')
ifeq (${PIP},)
PIP=${PYTHON} -m pip
endif

QUIPPY_SRC_DIR := ../../quippy

Expand Down

0 comments on commit 04faa82

Please sign in to comment.