File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,12 +79,16 @@ init:
7979# dependency of same % stem prefix checks for a matching .py file to consider it a valid target
8080#
8181% .pyc : % .py
82- @# this utility script supports taking .pyc or .pyo names and still does the right thing
82+ @# this utility script supports taking .pyc or .pyo names and still does the right thing,
8383 @bash-tools/python_pip_install_for_script.sh $@ --exclude harisekhon && \
84- python -m py_compile ` echo $@ | sed ' s/\.pyc$$/.py/' `
84+ python -m py_compile $< && \
85+ echo && \
86+ echo Generated $@
8587% .pyo : % .py
8688 @bash-tools/python_pip_install_for_script.sh $@ --exclude harisekhon && \
87- python -O -m py_compile ` echo $@ | sed ' s/\.pyo$$/.py/' `
89+ python -O -m py_compile $< && \
90+ echo && \
91+ echo Generated $@
8892
8993.PHONY : pylib
9094pylib :
You can’t perform that action at this time.
0 commit comments