diff options
| author | idle sign <idlesign@yandex.ru> | 2016-12-10 12:06:26 +0700 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-10 11:23:00 -0500 |
| commit | 56dea7f0334f60603d4ca6a884ca523fe3389ef3 (patch) | |
| tree | 0bd0b074883e4d04d87a22fae43c70d9ded5cf8f /docs | |
| parent | ac9997648d89131412eacbb198e2d3a7c97f69e4 (diff) | |
| download | external_python_setuptools-56dea7f0334f60603d4ca6a884ca523fe3389ef3.tar.gz external_python_setuptools-56dea7f0334f60603d4ca6a884ca523fe3389ef3.tar.bz2 external_python_setuptools-56dea7f0334f60603d4ca6a884ca523fe3389ef3.zip | |
`read_configuration()` now accepts `ignore_option_errors`.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/setuptools.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt index 77de255b..1721edaf 100644 --- a/docs/setuptools.txt +++ b/docs/setuptools.txt @@ -2543,7 +2543,7 @@ zip_safe bool setup_requires list-semi install_requires list-semi extras_require section -entry_points file, section +entry_points file:, section use_2to3 bool use_2to3_fixers list-comma use_2to3_exclude_fixers list-comma @@ -2582,6 +2582,12 @@ in the first argument. To include values from other configuration files which could be in various places set `find_others` function argument to ``True``. +If you have only a configuration file but not the whole package you can still +try to get data out of it with the help of `ignore_option_errors` function +argument. When it is set to ``True`` all options with errors possibly produced +by directives, such as ``attr:`` and others will be silently ignored. +As a consequence the resulting dictionary will include no such options. + -------------------------------- Extending and Reusing Setuptools |
