- 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.
48 lines
935 B
TOML
48 lines
935 B
TOML
[tool.isort]
|
|
profile = "black"
|
|
line_length = 95
|
|
multi_line_output = 3
|
|
include_trailing_comma = true
|
|
force_grid_wrap = 0
|
|
use_parentheses = true
|
|
ensure_newline_before_comments = true
|
|
src_paths = ["mini_rag", "tests", "examples", "scripts"]
|
|
known_first_party = ["mini_rag"]
|
|
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
|
|
skip = [".venv", ".venv-linting", "__pycache__", ".git"]
|
|
skip_glob = ["*.egg-info/*", "build/*", "dist/*"]
|
|
|
|
[tool.black]
|
|
line-length = 95
|
|
target-version = ['py310']
|
|
include = '\.pyi?$'
|
|
extend-exclude = '''
|
|
/(
|
|
# directories
|
|
\.eggs
|
|
| \.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| \.venv-linting
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
)/
|
|
'''
|
|
|
|
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "mini-rag"
|
|
version = "2.1.0"
|
|
|
|
[project.scripts]
|
|
rag-mini = "mini_rag.cli:cli"
|
|
|
|
[tool.setuptools]
|
|
packages = ["mini_rag"] |