Refactor code structure for improved readability and maintainability
This commit is contained in:
parent
494ec8064e
commit
a9fb0a43f3
3 changed files with 1350 additions and 14 deletions
4
.github/workflows/azure-aca-deploy.yml
vendored
4
.github/workflows/azure-aca-deploy.yml
vendored
|
|
@ -31,8 +31,8 @@ jobs:
|
|||
id-token: write
|
||||
env:
|
||||
IMAGE_NAME: ${{ vars.IMAGE_NAME }}
|
||||
CONTAINER_APP_NAME: ${{ secrets.AZURE_CONTAINER_APP_NAME }}
|
||||
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
|
||||
CONTAINER_APP_NAME: ${{ vars.AZURE_CONTAINER_APP_NAME }}
|
||||
AZURE_RESOURCE_GROUP: ${{ vars.AZURE_RESOURCE_GROUP }}
|
||||
REGISTRY_LOGIN_SERVER: ${{ secrets.AZURE_REGISTRY_LOGIN_SERVER }}
|
||||
AZURE_REGISTRY_USERNAME: ${{ secrets.AZURE_REGISTRY_USERNAME }}
|
||||
AZURE_REGISTRY_PASSWORD: ${{ secrets.AZURE_REGISTRY_PASSWORD }}
|
||||
|
|
|
|||
|
|
@ -5,12 +5,10 @@ build-backend = "setuptools.build_meta"
|
|||
[project]
|
||||
name = "lightrag-hku"
|
||||
dynamic = ["version"]
|
||||
authors = [
|
||||
{name = "Zirui Guo"}
|
||||
]
|
||||
authors = [{ name = "Zirui Guo" }]
|
||||
description = "LightRAG: Simple and Fast Retrieval-Augmented Generation"
|
||||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
license = { text = "MIT" }
|
||||
requires-python = ">=3.10"
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
|
|
@ -23,6 +21,7 @@ classifiers = [
|
|||
dependencies = [
|
||||
"aiohttp",
|
||||
"configparser",
|
||||
"docling>=2.58.0",
|
||||
"future",
|
||||
"json_repair",
|
||||
"nano-vectordb",
|
||||
|
|
@ -64,7 +63,6 @@ api = [
|
|||
"ascii_colors",
|
||||
"asyncpg",
|
||||
"distro",
|
||||
"docling>=2.58.0,<3.0.0",
|
||||
"fastapi",
|
||||
"httpcore",
|
||||
"httpx",
|
||||
|
|
@ -126,13 +124,23 @@ Repository = "https://github.com/HKUDS/LightRAG"
|
|||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["lightrag*"]
|
||||
exclude = ["data*", "tests*", "scripts*", "examples*", "dickens*", "reproduce*", "output_complete*", "rag_storage*", "inputs*"]
|
||||
exclude = [
|
||||
"data*",
|
||||
"tests*",
|
||||
"scripts*",
|
||||
"examples*",
|
||||
"dickens*",
|
||||
"reproduce*",
|
||||
"output_complete*",
|
||||
"rag_storage*",
|
||||
"inputs*",
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
include-package-data = true
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "lightrag.__version__"}
|
||||
version = { attr = "lightrag.__version__" }
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
lightrag = ["api/webui/**/*"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue