- sap/: abap-mcp 의 catalog/sap_client/mcp_server 복사. import 와 .env 탐색만 이 저장소에 맞춤 - ingest/from_sap.py: 패키지명 → GET_PROGRAM_LIST → GET_PROGRAM_SOURCE(+Include) → data/raw/*.txt (normalize 가 읽는 수집 JSON 형식 그대로). 받은 파일은 건너뛰고 --force 로 재수집 - normalize: 응답의 TCODE_LIST 를 tcodes.jsonl 로 (from_dir 와 같은 모양, 로더가 적재) - .env.example 에 SAP_URL/SAP_USER/SAP_PASS, tests/test_from_sap.py Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
24 lines
768 B
TOML
24 lines
768 B
TOML
[project]
|
|
name = "abap-indexing"
|
|
version = "0.1.0"
|
|
description = "ABAP 소스코드 인덱싱 서버 — 정규화/구조파싱/요약/인덱싱/질의 API"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.110",
|
|
"uvicorn[standard]>=0.29",
|
|
"pydantic>=2.6",
|
|
"pydantic-settings>=2.2",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8", "httpx>=0.27"]
|
|
# 운영 DB를 PostgreSQL로 전환할 때 (ASSUMPTIONS.md 참고)
|
|
postgres = ["psycopg[binary]>=3.1", "pgvector>=0.2"]
|
|
|
|
# flat-layout 자동 탐색이 data/ wiki/ 까지 패키지로 오인해 실패한다 — 명시 지정.
|
|
[tool.setuptools]
|
|
packages = ["config", "ingest", "parser", "index", "summarize", "query", "wiki_out", "eval", "sap"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|