diff options
| author | idle sign <idlesign@yandex.ru> | 2016-12-10 13:33:57 +0700 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-10 11:23:00 -0500 |
| commit | a262947e39e6125ee15d3752a2124acf0c62bda6 (patch) | |
| tree | dcd271dbd114a22e19dac3f18b2f3fccb1740bb7 /docs | |
| parent | b73891f82d5f1a353a2ad0090b1f5edece921508 (diff) | |
| download | external_python_setuptools-a262947e39e6125ee15d3752a2124acf0c62bda6.tar.gz external_python_setuptools-a262947e39e6125ee15d3752a2124acf0c62bda6.tar.bz2 external_python_setuptools-a262947e39e6125ee15d3752a2124acf0c62bda6.zip | |
Implemented find() configuration support for `packages`.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/setuptools.txt | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt index 1721edaf..2f78b133 100644 --- a/docs/setuptools.txt +++ b/docs/setuptools.txt @@ -2448,6 +2448,11 @@ boilerplate code in some cases. pdf = ReportLab>=1.2; RXP rest = docutils>=0.3; pack ==1.1, ==1.3 + [options.packages.find] + exclude = + src.subpackage1 + src.subpackage2 + Metadata and options could be set in sections with the same names. @@ -2486,13 +2491,13 @@ Type names used below: * ``list-semi`` - dangling list or semicolon-separated values string * ``bool`` - ``True`` is 1, yes, true * ``dict`` - list-comma where keys from values are separated by = +* ``section`` - values could be read from a dedicated (sub)section Special directives: * ``attr:`` - value could be read from module attribute * ``file:`` - value could be read from a file -* ``section:`` - values could be read from a dedicated (sub)section .. note:: @@ -2529,8 +2534,10 @@ requires list-comma obsoletes list-comma ================= ================= ===== -**version** - ``attr:`` supports callables; supports iterables; -unsupported types are casted using ``str()``. +.. note:: + + **version** - ``attr:`` supports callables; supports iterables; + unsupported types are casted using ``str()``. Options @@ -2560,6 +2567,13 @@ exclude_package_data section namespace_packages list-comma ======================= ===== +.. note:: + + **packages** - ``find:`` directive can be further configured + in a dedicated subsection `options.packages.find`. This subsection + accepts the same keys as `setuptools.find` function: + `where`, `include`, `exclude`. + Configuration API ================= |
