make: Setup the PYTHONPATH to include the pyln-spec packages

They are currently not installable due to circular dependencies and
stuff, so we just add their source to the path and lnprototest will
pick them up from there.
This commit is contained in:
Christian Decker 2021-03-19 12:42:53 +01:00 committed by Rusty Russell
parent 0f217d32fa
commit 1bebdfdd5f
2 changed files with 1 additions and 6 deletions

View file

@ -80,7 +80,7 @@ endif
# (method=thread to support xdist)
PYTEST_OPTS := -v -p no:logging $(PYTEST_OPTS)
PYTHONPATH=$(shell pwd)/contrib/pyln-client:$(shell pwd)/contrib/pyln-testing:$(shell pwd)/contrib/pyln-proto/:$(shell pwd)/external/lnprototest
PYTHONPATH=$(shell pwd)/contrib/pyln-client:$(shell pwd)/contrib/pyln-testing:$(shell pwd)/contrib/pyln-proto/:$(shell pwd)/external/lnprototest:$(shell pwd)/contrib/pyln-spec/bolt1:$(shell pwd)/contrib/pyln-spec/bolt2:$(shell pwd)/contrib/pyln-spec/bolt4:$(shell pwd)/contrib/pyln-spec/bolt7
# This is where we add new features as bitcoin adds them.
FEATURES :=

View file

@ -14,9 +14,4 @@ flake8 ~= 3.7.8
# None
# Dependencies from lnprototest
pyln.bolt1==1.0.1.137
pyln.bolt2==1.0.1.137
pyln.bolt4==1.0.1.137
pyln.bolt7==1.0.1.137
coincurve==13.0.0
crc32c