Browse Source

Merge pull request #10489 from jefferyto/python-readme-fix

python: Fix filespec example in readme
lilik-openwrt-22.03
Hannu Nyman 5 years ago
committed by GitHub
parent
commit
c007f58e51
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      lang/python/README.md

+ 3
- 3
lang/python/README.md View File

@ -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
```


Loading…
Cancel
Save