copy everything with a .py extension into the build tree (creating dirs if needed)
This commit is contained in:
parent
f1aea15cf7
commit
f102d587bc
1 changed files with 5 additions and 4 deletions
|
|
@ -11,13 +11,14 @@ import_packages_subdirs = \
|
|||
relativeimport1 \
|
||||
relativeimport2 \
|
||||
relativeimport3 \
|
||||
split_modules
|
||||
split_modules \
|
||||
namespace_pkg
|
||||
|
||||
|
||||
# cd split_modules && $(MAKE) check
|
||||
check: build
|
||||
echo "SRCDIR=$(SRCDIR)"
|
||||
if test "x$(SRCDIR)" != x; then \
|
||||
for file in `cd $(SRCDIR) && find . -type f -name __init__.py`; do \
|
||||
for file in `cd $(SRCDIR) && find . -type f -name "*.py"`; do \
|
||||
mkdir -p `dirname $$file`; \
|
||||
cp "${SRCDIR}$$file" "$$file" || exit 1; \
|
||||
done; \
|
||||
fi; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue