1
1
# build backand and build dependencies
2
2
[build-system ]
3
- requires = [" setuptools >= 61.0" ]
3
+ requires = [" setuptools >= 61.0" , " wheel " , " setuptools-git-versioning>=2.0,<3 " ]
4
4
build-backend = " setuptools.build_meta"
5
5
6
6
[tool .setuptools ]
7
7
include-package-data = false
8
8
packages.find.include = [" kotaemon*" ]
9
9
packages.find.exclude = [" tests*" , " env*" ]
10
10
11
+ [tool .setuptools-git-versioning ]
12
+ enabled = true
13
+ dev_template = " {tag}"
14
+ dirty_template = " {tag}"
15
+ tag_filter = " v?\\ d+(\\ .\\ d+)*.*"
16
+
11
17
# metadata and dependencies
12
18
[project ]
13
19
name = " kotaemon"
14
- version = " 0.3.12 "
20
+ dynamic = [ " version " ]
15
21
requires-python = " >= 3.10"
16
22
description = " Kotaemon core library for AI development."
17
23
dependencies = [
18
- " langchain" ,
19
- " langchain-community" ,
20
- " langchain-openai" ,
21
- " openai" ,
22
- " theflow" ,
23
- " llama-index>=0.9.0,<0.10.0" ,
24
- " llama-hub" ,
25
- " gradio>=4.26.0" ,
26
- " openpyxl" ,
27
- " cookiecutter" ,
28
- " click" ,
29
- " pandas" ,
30
- " trogon" ,
31
- " tenacity" ,
32
- " python-dotenv" , # currently used to read configs from file, should be remove in the future
33
- " chromadb" ,
34
- " unstructured" ,
35
- " pypdf" ,
36
- " html2text" ,
37
- " fastembed" ,
24
+ " langchain>=0.1.16,<0.2.0" ,
25
+ " langchain-community>=0.0.34,<0.1.0" ,
26
+ " langchain-openai>=0.1.4,<0.2.0" ,
27
+ " openai>=1.23.6,<2" ,
28
+ " theflow>=0.8.6,<0.9.0" ,
29
+ " llama-index==0.9.48" ,
30
+ " llama-hub>=0.0.79,<0.1.0" ,
31
+ " gradio>=4.26.0,<5" ,
32
+ " openpyxl>=3.1.2,<3.2" ,
33
+ " cookiecutter>=2.6.0,<2.7" ,
34
+ " click>=8.1.7,<9" ,
35
+ " pandas>=2.2.2,<2.3" ,
36
+ " trogon>=0.5.0,<0.6" ,
37
+ " tenacity>=8.2.3,<8.3" ,
38
+ " python-dotenv>=1.0.1,<1.1" ,
39
+ " chromadb>=0.4.21,<0.5" ,
40
+ " unstructured==0.13.4" ,
41
+ " pypdf>=4.2.0,<4.3" ,
42
+ " html2text==2024.2.26" ,
43
+ " fastembed==0.2.6" ,
44
+ " llama-cpp-python==0.2.65" ,
45
+ " azure-ai-documentintelligence" ,
46
+ " cohere>=5.3.2,<5.4" ,
38
47
]
39
48
readme = " README.md"
40
- license = { text = " MIT License" }
41
49
authors = [
42
- {
name =
" john" ,
email =
" [email protected] " },
43
- {
name =
" ian" ,
email =
" [email protected] " },
44
- {
name =
" tadashi" ,
email =
" [email protected] " },
50
+ {
name =
" @trducng" ,
email =
" [email protected] " },
51
+ {
name =
" @lone17" ,
email =
" [email protected] " },
52
+ {
name =
" @taprosoft" ,
email =
" [email protected] " },
53
+ {
name =
" @cin-albert" ,
email =
" [email protected] " },
45
54
]
46
55
classifiers = [
47
56
" Programming Language :: Python :: 3" ,
48
- " License :: OSI Approved :: MIT License" ,
49
57
" Operating System :: OS Independent" ,
50
58
]
51
59
52
60
[project .optional-dependencies ]
53
61
adv = [
54
- " wikipedia" ,
55
- " duckduckgo-search" ,
56
- " googlesearch-python" ,
57
- " python-docx" ,
58
- " pytest-mock" ,
59
- " unstructured[pdf]" ,
60
- " sentence_transformers" ,
61
- " cohere" ,
62
- " elasticsearch" ,
63
- " llama-cpp-python" ,
62
+ " wikipedia>=1.4.0,<1.5" ,
63
+ " duckduckgo-search>=5.3.0,<5.4.0" ,
64
+ " googlesearch-python>=1.2.4,<1.3" ,
65
+ " python-docx>=1.1.0,<1.2" ,
66
+ " unstructured[pdf]==0.13.4" ,
67
+ " sentence_transformers==2.7.0" ,
68
+ " elasticsearch>=8.13.0,<8.14" ,
64
69
" pdfservices-sdk @ git+https://github.com/niallcm/pdfservices-python-sdk.git@bump-and-unfreeze-requirements" ,
65
- " fastembed" ,
66
- " beautifulsoup4" ,
67
- " azure-ai-documentintelligence" ,
70
+ " beautifulsoup4>=4.12.3,<4.13" ,
68
71
]
69
72
dev = [
70
73
" ipython" ,
71
74
" pytest" ,
75
+ " pytest-mock" ,
72
76
" pre-commit" ,
73
77
" black" ,
74
78
" flake8" ,
@@ -80,8 +84,3 @@ all = ["kotaemon[adv,dev]"]
80
84
81
85
[project .scripts ]
82
86
kotaemon = " kotaemon.cli:main"
83
-
84
- [project .urls ]
85
- Homepage = " https://github.com/Cinnamon/kotaemon/"
86
- Repository = " https://github.com/Cinnamon/kotaemon/"
87
- Documentation = " https://github.com/Cinnamon/kotaemon/wiki"
0 commit comments