-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
57 lines (51 loc) · 1.52 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import setuptools
from ducksearch.__version__ import __version__
with open(file="README.md", mode="r", encoding="utf-8") as fh:
long_description = fh.read()
base_packages = [
"pandas >= 2.2.1",
"duckdb >= 1.0.0",
"pyarrow >= 16.1.0",
"tqdm >= 4.66.4",
"joblib >= 1.4.2",
]
eval = ["ranx >= 0.3.16", "beir >= 2.0.0"]
dev = [
"sqlfluff >= 3.1.0",
"ruff >= 0.4.9",
"pytest-cov >= 5.0.0",
"pytest >= 8.2.1",
"harlequin >= 1.24.0",
"mkdocs-material == 9.5.32",
"mkdocs-awesome-pages-plugin == 2.9.3",
"mkdocs-jupyter == 0.24.8",
"mkdocs_charts_plugin == 0.0.10",
"numpydoc == 1.8.0",
]
setuptools.setup(
name="ducksearch",
version=f"{__version__}",
license="MIT",
author="LightOn",
description="DuckSearch: A Python library for efficient search in large collections of text data.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/lightonai/ducksearch",
keywords=[],
packages=setuptools.find_packages(),
install_requires=base_packages,
extras_require={
"eval": base_packages + eval,
"dev": base_packages + dev + eval,
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
include_package_data=True, # Ensure package data is included
package_data={
# Include all .sql files inside the 'ducksearch' package
"ducksearch": ["**/*.sql"],
},
)