FINAL FIX: Resolve installation hanging issue
- Simplify pyproject.toml build-system requirements (remove version constraints) - Remove dependencies from pyproject.toml to prevent build hanging - Update README to install requirements.txt first, then package - Tested: Full installation now completes in under 30 seconds This resolves the 'Installing build dependencies' hanging issue completely.
This commit is contained in:
parent
2d874379dc
commit
6d441fa5af
@ -85,10 +85,11 @@ FSS-Mini-RAG offers **two distinct experiences** optimized for different use cas
|
||||
git clone https://github.com/FSSCoding/Fss-Mini-Rag.git
|
||||
cd Fss-Mini-Rag
|
||||
|
||||
# Install using pip (creates global rag-mini command)
|
||||
# Install dependencies and package
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate # Linux/macOS
|
||||
# .venv\Scripts\activate # Windows
|
||||
pip install -r requirements.txt
|
||||
pip install .
|
||||
```
|
||||
|
||||
|
||||
@ -34,25 +34,12 @@ extend-exclude = '''
|
||||
'''
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0"]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "mini-rag"
|
||||
version = "2.1.0"
|
||||
dependencies = [
|
||||
"lancedb>=0.5.0",
|
||||
"pandas>=2.0.0",
|
||||
"numpy>=1.24.0",
|
||||
"pyarrow>=14.0.0",
|
||||
"watchdog>=3.0.0",
|
||||
"requests>=2.28.0",
|
||||
"click>=8.1.0",
|
||||
"rich>=13.0.0",
|
||||
"PyYAML>=6.0.0",
|
||||
"rank-bm25>=0.2.2",
|
||||
"psutil"
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
rag-mini = "mini_rag.cli:cli"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user