(bump:minor) Feat: Add mechanism for user-site update and auto creating releases (#56)
* move flowsettings.py and launch.py to root * update docs * sync sub package versions * rename launch.py to app.py and make run scripts work with installation package * add update scripts * auto version for root package * rename authors and update doc dir * Update auto-bump-and-release.yaml to trigger on push to main branch * latest as branch instead of tag * pin deps versions * cache the changelogs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# build backand and build dependencies
|
||||
[build-system]
|
||||
requires = ["setuptools >= 61.0"]
|
||||
requires = ["setuptools >= 61.0", "wheel", "setuptools-git-versioning>=2.0,<3"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools]
|
||||
@@ -8,67 +8,71 @@ include-package-data = false
|
||||
packages.find.include = ["kotaemon*"]
|
||||
packages.find.exclude = ["tests*", "env*"]
|
||||
|
||||
[tool.setuptools-git-versioning]
|
||||
enabled = true
|
||||
dev_template = "{tag}"
|
||||
dirty_template = "{tag}"
|
||||
tag_filter = "v?\\d+(\\.\\d+)*.*"
|
||||
|
||||
# metadata and dependencies
|
||||
[project]
|
||||
name = "kotaemon"
|
||||
version = "0.3.12"
|
||||
dynamic = ["version"]
|
||||
requires-python = ">= 3.10"
|
||||
description = "Kotaemon core library for AI development."
|
||||
dependencies = [
|
||||
"langchain",
|
||||
"langchain-community",
|
||||
"langchain-openai",
|
||||
"openai",
|
||||
"theflow",
|
||||
"llama-index>=0.9.0,<0.10.0",
|
||||
"llama-hub",
|
||||
"gradio>=4.26.0",
|
||||
"openpyxl",
|
||||
"cookiecutter",
|
||||
"click",
|
||||
"pandas",
|
||||
"trogon",
|
||||
"tenacity",
|
||||
"python-dotenv", # currently used to read configs from file, should be remove in the future
|
||||
"chromadb",
|
||||
"unstructured",
|
||||
"pypdf",
|
||||
"html2text",
|
||||
"fastembed",
|
||||
"langchain>=0.1.16,<0.2.0",
|
||||
"langchain-community>=0.0.34,<0.1.0",
|
||||
"langchain-openai>=0.1.4,<0.2.0",
|
||||
"openai>=1.23.6,<2",
|
||||
"theflow>=0.8.6,<0.9.0",
|
||||
"llama-index==0.9.48",
|
||||
"llama-hub>=0.0.79,<0.1.0",
|
||||
"gradio>=4.26.0,<5",
|
||||
"openpyxl>=3.1.2,<3.2",
|
||||
"cookiecutter>=2.6.0,<2.7",
|
||||
"click>=8.1.7,<9",
|
||||
"pandas>=2.2.2,<2.3",
|
||||
"trogon>=0.5.0,<0.6",
|
||||
"tenacity>=8.2.3,<8.3",
|
||||
"python-dotenv>=1.0.1,<1.1",
|
||||
"chromadb>=0.4.21,<0.5",
|
||||
"unstructured==0.13.4",
|
||||
"pypdf>=4.2.0,<4.3",
|
||||
"html2text==2024.2.26",
|
||||
"fastembed==0.2.6",
|
||||
"llama-cpp-python==0.2.65",
|
||||
"azure-ai-documentintelligence",
|
||||
"cohere>=5.3.2,<5.4",
|
||||
]
|
||||
readme = "README.md"
|
||||
license = { text = "MIT License" }
|
||||
authors = [
|
||||
{ name = "john", email = "john@cinnamon.is" },
|
||||
{ name = "ian", email = "ian@cinnamon.is" },
|
||||
{ name = "tadashi", email = "tadashi@cinnamon.is" },
|
||||
{ name = "@trducng", email = "john@cinnamon.is" },
|
||||
{ name = "@lone17", email = "ian@cinnamon.is" },
|
||||
{ name = "@taprosoft", email = "tadashi@cinnamon.is" },
|
||||
{ name = "@cin-albert", email = "albert@cinnamon.is" },
|
||||
]
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
adv = [
|
||||
"wikipedia",
|
||||
"duckduckgo-search",
|
||||
"googlesearch-python",
|
||||
"python-docx",
|
||||
"pytest-mock",
|
||||
"unstructured[pdf]",
|
||||
"sentence_transformers",
|
||||
"cohere",
|
||||
"elasticsearch",
|
||||
"llama-cpp-python",
|
||||
"wikipedia>=1.4.0,<1.5",
|
||||
"duckduckgo-search>=5.3.0,<5.4.0",
|
||||
"googlesearch-python>=1.2.4,<1.3",
|
||||
"python-docx>=1.1.0,<1.2",
|
||||
"unstructured[pdf]==0.13.4",
|
||||
"sentence_transformers==2.7.0",
|
||||
"elasticsearch>=8.13.0,<8.14",
|
||||
"pdfservices-sdk @ git+https://github.com/niallcm/pdfservices-python-sdk.git@bump-and-unfreeze-requirements",
|
||||
"fastembed",
|
||||
"beautifulsoup4",
|
||||
"azure-ai-documentintelligence",
|
||||
"beautifulsoup4>=4.12.3,<4.13",
|
||||
]
|
||||
dev = [
|
||||
"ipython",
|
||||
"pytest",
|
||||
"pytest-mock",
|
||||
"pre-commit",
|
||||
"black",
|
||||
"flake8",
|
||||
@@ -80,8 +84,3 @@ all = ["kotaemon[adv,dev]"]
|
||||
|
||||
[project.scripts]
|
||||
kotaemon = "kotaemon.cli:main"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/Cinnamon/kotaemon/"
|
||||
Repository = "https://github.com/Cinnamon/kotaemon/"
|
||||
Documentation = "https://github.com/Cinnamon/kotaemon/wiki"
|
||||
|
Reference in New Issue
Block a user