aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Head <chead@chead.ca>2019-08-12 21:37:34 -0700
committerChristopher Head <chead@chead.ca>2019-08-12 21:37:34 -0700
commitcd92d8a98f388b33fd7d5f24d096408408426b0c (patch)
tree4efba1f6e18d9cad273f05b32ad2c96aef012e52
parentaf871897e6cd63e083f166559ea4fc65a330eac4 (diff)
downloadexternal_python_setuptools-cd92d8a98f388b33fd7d5f24d096408408426b0c.tar.gz
external_python_setuptools-cd92d8a98f388b33fd7d5f24d096408408426b0c.tar.bz2
external_python_setuptools-cd92d8a98f388b33fd7d5f24d096408408426b0c.zip
Document using asterisk in package_data section
-rw-r--r--docs/setuptools.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt
index 2e7fe3bd..3509a301 100644
--- a/docs/setuptools.txt
+++ b/docs/setuptools.txt
@@ -2416,7 +2416,7 @@ tests_require list-semi
include_package_data bool
packages find:, find_namespace:, list-comma
package_dir dict
-package_data section
+package_data section (1)
exclude_package_data section
namespace_packages list-comma
py_modules list-comma
@@ -2433,6 +2433,10 @@ data_files dict 40.6.0
**find_namespace directive** - The ``find_namespace:`` directive is supported since Python >=3.3.
+Notes:
+1. In the `package_data` section, a key named with a single asterisk (`*`)
+refers to all packages, in lieu of the empty string used in `setup.py`.
+
Configuration API
=================