MCPcopy Create free account
hub / github.com/NanGePlus/LightRAGTest / read_requirements

Function read_requirements

LightRAG/setup.py:43–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42# Reading dependencies from requirements.txt
43def read_requirements():
44 deps = []
45 try:
46 with open("./requirements.txt") as f:
47 deps = [line.strip() for line in f if line.strip()]
48 except FileNotFoundError:
49 print(
50 "Warning: 'requirements.txt' not found. No dependencies will be installed."
51 )
52 return deps
53
54
55metadata = retrieve_metadata()

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected