-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (45 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
54 lines (45 loc) · 1.4 KB
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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "smartchunk"
version = "0.1.2"
description = "Structure-aware semantic chunking for RAG/LLMs"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Team Metamorph" }]
keywords = ["RAG","chunking","semantic","NLP","LLM"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Text Processing :: Linguistic",
]
dependencies = [
"rich>=13.7",
"typer[all]>=0.12", # Using [all] for better optional features
"markdown-it-py>=3.0",
"beautifulsoup4>=4.12",
"requests>=2.26",
"numpy>=1.24",
"scikit-learn>=1.3",
"shellingham>=1.5",
"sentence-transformers>=2.7",
]
[project.optional-dependencies]
tokenizer = ["tiktoken>=0.7"]
[project.urls]
Homepage = "https://github.com/TeamMetamorph/SmartChunk"
Source = "https://github.com/TeamMetamorph/SmartChunk"
Issues = "https://github.com/TeamMetamorph/SmartChunk/issues"
[project.scripts]
# This now correctly points to the 'app' object in your cli.py
smartchunk = "smartchunk.cli:app"
# --- Configuration for setuptools to find your package in the 'src' directory ---
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"smartchunk" = ["py.typed"]