diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2019-10-27 18:40:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-27 18:40:08 -0400 |
commit | 85069ea5aea84e6a6d2e56a1327c0d17635421cd (patch) | |
tree | 4389d9a90d7b0dbdade8cb94d646fa794d932768 | |
parent | 19eb6bf8bd28f1b9b66288c797d67eb8da71508d (diff) | |
parent | cd92d8a98f388b33fd7d5f24d096408408426b0c (diff) | |
download | external_python_setuptools-85069ea5aea84e6a6d2e56a1327c0d17635421cd.tar.gz external_python_setuptools-85069ea5aea84e6a6d2e56a1327c0d17635421cd.tar.bz2 external_python_setuptools-85069ea5aea84e6a6d2e56a1327c0d17635421cd.zip |
Merge pull request #1815 from Hawk777/document-package-data-asterisk
Document using asterisk in package_data section
-rw-r--r-- | docs/setuptools.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt index 3c6243e2..344ea5bc 100644 --- a/docs/setuptools.txt +++ b/docs/setuptools.txt @@ -2317,7 +2317,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 @@ -2334,6 +2334,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 ================= |