Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yillkid committed Aug 20, 2018
1 parent 8ad8463 commit b9778f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mk/python.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PYTHON = python3
PYTHON = python3.5
PYTHON := $(shell which $(PYTHON))
ifndef PYTHON
$(error "python3 is required.")
$(error "python3.5 is required.")
endif

# check "iota" module in Python installation
PY_CHECK_MOD_IOTA := $(shell $(PYTHON) -c "import iota" 2>/dev/null && \
echo 1 || echo 0)
ifneq ("$(PY_CHECK_MOD_IOTA)","1")
$(error "dependency error $@ because PyOTA is not installed, to install the latest version: pip install pyota")
$(error "dependency error $@ because PyOTA is not installed, to install the latest version: pip3 install pyota")
endif

0 comments on commit b9778f0

Please sign in to comment.