Commit 3dbf614e authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Stop stderr noise from 'pip3 show typing'

parent a2a7b968
...@@ -9,7 +9,7 @@ PYSRC_B_COVER := $(PYSRC_B:%.py=___dmt_B_mappers_%.py,cover) ...@@ -9,7 +9,7 @@ PYSRC_B_COVER := $(PYSRC_B:%.py=___dmt_B_mappers_%.py,cover)
# the one installed in $HOME/.local via setup.py. # the one installed in $HOME/.local via setup.py.
# #
# To address this, we find where our pip-installed typing lives: # To address this, we find where our pip-installed typing lives:
TYPING_FOLDER:=$(shell pip3 show typing | grep ^Location | sed 's,^.*: ,,') TYPING_FOLDER:=$(shell pip3 show typing 2>/dev/null | grep ^Location | sed 's,^.*: ,,')
export PYTHONPATH:=..:${TYPING_FOLDER} export PYTHONPATH:=..:${TYPING_FOLDER}
.PHONY: check .PHONY: check
......
...@@ -9,7 +9,7 @@ PYSRC_A_COVER := $(PYSRC_A:%.py=___dmt_A_mappers_%.py,cover) ...@@ -9,7 +9,7 @@ PYSRC_A_COVER := $(PYSRC_A:%.py=___dmt_A_mappers_%.py,cover)
# the one installed in $HOME/.local via setup.py. # the one installed in $HOME/.local via setup.py.
# #
# To address this, we find where our pip-installed typing lives: # To address this, we find where our pip-installed typing lives:
TYPING_FOLDER:=$(shell pip3 show typing | grep ^Location | sed 's,^.*: ,,') TYPING_FOLDER:=$(shell pip3 show typing 2>/dev/null | grep ^Location | sed 's,^.*: ,,')
export PYTHONPATH:=..:${TYPING_FOLDER} export PYTHONPATH:=..:${TYPING_FOLDER}
.PHONY: check .PHONY: check
......
...@@ -4,7 +4,7 @@ include common.mk ...@@ -4,7 +4,7 @@ include common.mk
# the one installed in $HOME/.local via setup.py. # the one installed in $HOME/.local via setup.py.
# #
# To address this, we find where our pip-installed typing lives: # To address this, we find where our pip-installed typing lives:
TYPING_FOLDER:=$(shell pip3 show typing | grep ^Location | sed 's,^.*: ,,') TYPING_FOLDER:=$(shell pip3 show typing 2>/dev/null | grep ^Location | sed 's,^.*: ,,')
export PYTHONPATH:=..:${TYPING_FOLDER} export PYTHONPATH:=..:${TYPING_FOLDER}
all: all:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment