Skip to content

Commit 3f68aad

Browse files
committed
Percentile extension
1 parent 4a5cd40 commit 3f68aad

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

doc/changes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ having to go through the intermediate JSON text format.
3232
Added :func:`apsw.ext.Function` for calling SQL functions directly
3333
from Python.
3434

35+
The `percentile extension <https://sqlite.org/percentile.html>`__ is
36+
enabled when enabling all extensions, which is standard for pypi
37+
downloads.
38+
3539
``SQLITE_SCM_`` constants (``BRANCH``, ``TAGS``, ``DATETIME``) are available
3640
on the module if built with the :attr:`amalgamation <using_amalgamation>`.
3741

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@ def finalize_options(self):
524524
"math_functions",
525525
"dbstat_vtab",
526526
"session",
527+
"percentile",
527528
]
528529
if not self.omit or "icu" not in self.omit.split(","):
529530
if get_icu_config():
@@ -646,6 +647,8 @@ def finalize_options(self):
646647
"rbu",
647648
"geopoly",
648649
"session",
650+
"carray",
651+
"percentile",
649652
)
650653
):
651654
write("Unknown enable " + e, sys.stderr)

0 commit comments

Comments
 (0)