Skip to content

Commit

Permalink
Feat: Handle python and python3 in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxence Drutel committed Sep 27, 2023
1 parent bb2d254 commit aea7ee7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
VENV=venv
PYTHON=python

# Check if python3 is available.
ifeq ($(shell command -v python3 2> /dev/null),)
PYTHON=python
else
PYTHON=python3
endif

MODULES=qiskit_alice_bob_provider tests
BUILD_DIR=dist
BASE_URL=
Expand Down

0 comments on commit aea7ee7

Please sign in to comment.