Spaces:
Running
Running
Merge pull request #20 from CintraAI/chore/prepare-repo-for-pypi-packaging-baton-BATON-1749670164-320
Browse files- MANIFEST.in +4 -0
- pyproject.toml +33 -0
MANIFEST.in
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
include LICENSE
|
| 2 |
+
include README.md
|
| 3 |
+
include mock_codefiles.json
|
| 4 |
+
recursive-include tests *.py
|
pyproject.toml
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[build-system]
|
| 2 |
+
requires = ["setuptools>=61.0", "wheel"]
|
| 3 |
+
build-backend = "setuptools.build_meta"
|
| 4 |
+
|
| 5 |
+
[project]
|
| 6 |
+
name = "cintra-code-chunker"
|
| 7 |
+
version = "0.1.0"
|
| 8 |
+
description = "Code Chunker tool that intelligently chunks source code based on points of interest."
|
| 9 |
+
readme = "README.md"
|
| 10 |
+
license = { file = "LICENSE" }
|
| 11 |
+
requires-python = ">=3.8"
|
| 12 |
+
authors = [
|
| 13 |
+
{ name = "CintraAI", email = "[email protected]" }
|
| 14 |
+
]
|
| 15 |
+
keywords = ["code", "chunk", "parser", "tree-sitter", "rag"]
|
| 16 |
+
dependencies = [
|
| 17 |
+
"tiktoken>=0.6.0",
|
| 18 |
+
"tree-sitter>=0.21.3",
|
| 19 |
+
"regex>=2023.12.25",
|
| 20 |
+
"streamlit>=1.33.0",
|
| 21 |
+
"toml>=0.10.2"
|
| 22 |
+
]
|
| 23 |
+
|
| 24 |
+
[project.urls]
|
| 25 |
+
Homepage = "https://github.com/CintraAI/code-chunker"
|
| 26 |
+
Repository = "https://github.com/CintraAI/code-chunker"
|
| 27 |
+
Issues = "https://github.com/CintraAI/code-chunker/issues"
|
| 28 |
+
|
| 29 |
+
[tool.setuptools]
|
| 30 |
+
py-modules = ["Chunker", "CodeParser", "utils", "app"]
|
| 31 |
+
|
| 32 |
+
[tool.setuptools.package-data]
|
| 33 |
+
"" = ["mock_codefiles.json"]
|