Skip to content

Commit

Permalink
Bug: ModuleNotFoundError in subdirectory
Browse files Browse the repository at this point in the history
* Add subdirectory to PYTHONPATH.
  • Loading branch information
Joppe committed Dec 19, 2023
1 parent 75c70ba commit d5d94c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makemake.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
# Build a recipy for $(_{dir}_BUILD)%%.py.bringup
$(_{dir}_BUILD)%%.py.mk: $(_{dir})%%.py
( cd $(_{dir}_DIR) && python3 $*.py --generic --dep $(__{dir}_BUILD)$*.py.mk ) ; \\
( cd $(_{dir}_DIR) && PYTHONPATH=$(_{dir}_DIR) python3 $*.py --generic --dep $(__{dir}_BUILD)$*.py.mk ) ; \\
if [ ! -f $@ ]; then echo "\\$$(_{dir}_BUILD)$*.py.bringup:; touch \\$$@" >$@; fi
# Check Python and command line usage examples in .py files
Expand Down

0 comments on commit d5d94c2

Please sign in to comment.