diff --git a/doc/build.rst b/doc/build.rst index 18080dbf..bdeca248 100644 --- a/doc/build.rst +++ b/doc/build.rst @@ -169,7 +169,7 @@ need to give the flag once and giving a comma seperated list. For example: +----------------------------------------+--------------------------------------------------------------------------------------+ | build/build_ext flag | Result | +========================================+======================================================================================+ -| | :option:`--enable-all-extensions` | Enables the FTS3/4, RTree and ICU extensions (if *icu-config* is on your path). | +| | :option:`--enable-all-extensions` | Enables the STAT4, FTS3/4, RTree, and ICU extensions if *icu-config* is on your path | +----------------------------------------+--------------------------------------------------------------------------------------+ | | :option:`--enable=fts3` | Enables the :ref:`full text search extension `. | | | :option:`--enable=fts4` | This flag only helps when using the amalgamation. If not using the | diff --git a/doc/changes.rst b/doc/changes.rst index 3c565968..56cd097e 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -8,6 +8,11 @@ Change History Updated test suite for Python 3.4 unittest garbage collection changes (:issue:`164`) +Using the :ref:`recommended ` build option of +**--enable-all-extensions** turns on `STAT4 +`__. Windows binaries +include this too. + 3.8.5-r1 ======== diff --git a/setup.py b/setup.py index ac26d104..d9dbae21 100644 --- a/setup.py +++ b/setup.py @@ -521,7 +521,7 @@ def finalize_options(self): v=beparent.finalize_options(self) if self.enable_all_extensions: - exts=["fts4", "fts3", "fts3_parenthesis", "rtree"] + exts=["fts4", "fts3", "fts3_parenthesis", "rtree", "stat4"] if find_in_path("icu-config"): exts.append("icu") if not self.enable: @@ -603,7 +603,7 @@ def finalize_options(self): # hopefully future proof test if "_" not in e.lower() and \ "memsys" not in e.lower() and \ - e.lower() not in ("fts4", "fts3", "rtree", "icu", "iotrace", "stat2"): + e.lower() not in ("fts4", "fts3", "rtree", "icu", "iotrace", "stat2", "stat3", "stat4"): write("Unknown enable "+e, sys.stderr) raise ValueError("Bad enable "+e)