Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (58 loc) · 2.3 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
54
55
56
57
58
59
60
61
62
63
64
65
66
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sciogen"
version = "0.1.6"
description = "Codebase intelligence layer — a queryable knowledge graph over your code."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "sciogen contributors" }]
keywords = ["static-analysis", "knowledge-graph", "code-search", "mcp", "tree-sitter"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"kuzu>=0.7",
"chromadb>=0.5",
# tree-sitter 0.26 / language-pack 1.x replaced the classic Python API
# (Node.type, Tree.root_node property) with a new Rust binding; sciogen's
# normalizers target the classic API, so both are pinned below the break.
"tree-sitter>=0.22,<0.26",
"tree-sitter-language-pack>=0.6,<1.0",
"typer>=0.12",
"rich>=13.7",
"watchdog>=4.0",
"mcp>=1.0",
]
[project.optional-dependencies]
# The nomic-embed-code model is the documented default embedder. It is an
# optional install because the model download is large; without it sciogen
# falls back to the deterministic hashing embedder (see docs/architecture.md).
embeddings = ["sentence-transformers>=3.0", "einops"]
dev = ["pytest>=8.0", "pytest-timeout"]
[project.scripts]
sciogen = "sciogen.cli.main:app"
[project.urls]
Homepage = "https://ayanbag.github.io/sciogen/"
Repository = "https://github.com/ayanbag/sciogen"
Documentation = "https://ayanbag.github.io/sciogen/docs.html"
Issues = "https://github.com/ayanbag/sciogen/issues"
[tool.hatch.build.targets.wheel]
packages = ["sciogen"]
# The explore GUI ships as a static asset, not Python — force it into the wheel
# so `sciogen explore` works from an installed package, not just an editable one.
artifacts = ["sciogen/cli/explore/template.html"]
[tool.hatch.build.targets.sdist]
# Ship the source the project actually needs; keep local indexes/venvs out.
include = ["sciogen", "tests", "docs", "site", "README.md", "LICENSE", "pyproject.toml"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"