aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-11-07 21:32:25 +0200
committerGitHub <noreply@github.com>2019-11-07 21:32:25 +0200
commitc007f58e51854dbafe06e8a94726b6f722cf4f1f (patch)
treeb6a09fdc6666cbf189d578c5eb9dcfacb7bbf0fd /lang
parentc0abef62aa900029e136a94ce789a5ecef60ac67 (diff)
parentdad0415215537e19728419bca54e6487dd704378 (diff)
Merge pull request #10489 from jefferyto/python-readme-fix
python: Fix filespec example in readme
Diffstat (limited to 'lang')
-rw-r--r--lang/python/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/README.md b/lang/python/README.md
index 94b2afaf6..4c241b82c 100644
--- a/lang/python/README.md
+++ b/lang/python/README.md
@@ -376,13 +376,13 @@ define PyPackage/python-example/filespec
endef
```
-If there is an `examples` directory and `test_*.py` files that can be omitted to save space, this can be specified as:
+If the package installs a `example_package` directory inside `PYTHON_PKG_DIR`, and there is an `examples` directory and `test_*.py` files that can be omitted to save space, this can be specified as:
```
define PyPackage/python-example/filespec
+|$(PYTHON_PKG_DIR)
--|$(PYTHON_PKG_DIR)/examples
--|$(PYTHON_PKG_DIR)/test_*.py
+-|$(PYTHON_PKG_DIR)/example_package/examples
+-|$(PYTHON_PKG_DIR)/example_package/test_*.py
endef
```