py-defs.mk / py-rules.mk: install py.typed
If $(wildcard py.typed) is found in a python module directory, install it. py.typed should be used by every repo that declares properly typed code, for jw-pkg that would be at the jw.pkg node, i.e installed to <site-dir>/jw/jw-pkg/py.typed.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
99386d5492
commit
8a2cd02ac7
2 changed files with 5 additions and 1 deletions
|
|
@ -31,3 +31,6 @@ endif
|
|||
|
||||
check:
|
||||
$(PY_MYPY) $(shell /bin/bash $(JWB_SCRIPT_DIR)/scm.sh ls-files | grep '\.py$$')
|
||||
|
||||
$(PY_INSTALL_DIR_PY)/py.typed: py.typed
|
||||
$(INSTALL) -p -m $(PYMODMODE) -o $(PYMODOWNER) -g $(PYMODGROUP) $< $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue