Skip to content

Commit 04faa82

Browse files
authored
Merge pull request #470 from libAtoms/no_pip_exec
Use python -m pip instead of the pip executable
2 parents 37a89a2 + 6028756 commit 04faa82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

quippy/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ include Makefile.rules
3232

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

3639
QUIPPY_SRC_DIR := ../../quippy
3740

0 commit comments

Comments
 (0)