mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-26 20:30:59 +01:00
Makefile: Include pyln-grpc proto in PYTHONPATH
When running `make check-python` we'll expclicitly include `pyln-grpc-proto` in the `PYTHONPATH`. This ensures we always run the tests using the version installed in `./contrib/pyln-grpc-proto`
This commit is contained in:
parent
b4d10a2e82
commit
24ae7751cf
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -72,7 +72,7 @@ endif
|
|||
|
||||
# (method=thread to support xdist)
|
||||
PYTEST_OPTS := -v -p no:logging $(PYTEST_OPTS)
|
||||
MY_CHECK_PYTHONPATH=$${PYTHONPATH}$${PYTHONPATH:+:}$(shell pwd)/contrib/pyln-client:$(shell pwd)/contrib/pyln-testing:$(shell pwd)/contrib/pyln-proto/:$(shell pwd)/contrib/pyln-spec/bolt1:$(shell pwd)/contrib/pyln-spec/bolt2:$(shell pwd)/contrib/pyln-spec/bolt4:$(shell pwd)/contrib/pyln-spec/bolt7
|
||||
MY_CHECK_PYTHONPATH=$${PYTHONPATH}$${PYTHONPATH:+:}$(shell pwd)/contrib/pyln-client:$(shell pwd)/contrib/pyln-testing:$(shell pwd)/contrib/pyln-proto/:$(shell pwd)/contrib/pyln-spec/bolt1:$(shell pwd)/contrib/pyln-spec/bolt2:$(shell pwd)/contrib/pyln-spec/bolt4:$(shell pwd)/contrib/pyln-spec/bolt7:$(shell pwd)/contrib/pyln-grpc-proto
|
||||
# Collect generated python files to be excluded from lint checks
|
||||
PYTHON_GENERATED= \
|
||||
contrib/pyln-grpc-proto/pyln/grpc/primitives_pb2.py \
|
||||
|
|
Loading…
Add table
Reference in a new issue