Commit e06614e6 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Remove need for external typing module installation

parent 85e3e28f
Pipeline #5922 passed with stage
in 3 minutes and 39 seconds
PY_SRC:=$(wildcard dmt/asn2dataModel.py dmt/aadl2glueC.py dmt/smp2asn.py dmt/*mappers/[a-zA-Z]*py dmt/commonPy/[a-zA-Z]*py)
PY_SRC:=$(filter-out dmt/B_mappers/antlr.main.py dmt/A_mappers/Stubs.py dmt/B_mappers/micropython_async_B_mapper.py dmt/commonPy/commonSMP2.py, ${PY_SRC})
PY_SRC:=$(filter-out dmt/B_mappers/vhdlTemplate.py dmt/B_mappers/vhdlTemplateZynQZC706.py dmt/B_mappers/vhdlTemplateBrave.py dmt/B_mappers/vhdlTemplateZestSC1.py, ${PY_SRC})
# Python3.5 includes an older version of typing, which by default has priority over
# the one installed in $HOME/.local via setup.py.
#
# To address this, we find where our pip-installed typing lives:
TYPING_FOLDER:=$(shell pip3 show typing 2>/dev/null | grep ^Location | sed 's,^.*: ,,')
export PYTHONPATH=${TYPING_FOLDER}
all: tests
......
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