51 lines
1.0 KiB
TOML
51 lines
1.0 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "yt-channel-scraper"
|
|
version = "0.1.0"
|
|
description = "Scraper de canales de YouTube hacia notas Markdown para Obsidian"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"yt-dlp[default]>=2026.8.19",
|
|
"click>=8.1",
|
|
"rich>=13.7",
|
|
"jinja2>=3.1",
|
|
"pyyaml>=6.0",
|
|
"python-slugify>=8.0",
|
|
"requests>=2.31",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-cov>=4.1",
|
|
"httpx>=0.27",
|
|
]
|
|
web = [
|
|
"fastapi>=0.110",
|
|
"uvicorn[standard]>=0.27",
|
|
"sse-starlette>=2.0",
|
|
"python-multipart>=0.0.9",
|
|
]
|
|
analysis = [
|
|
"matplotlib>=3.8",
|
|
"wordcloud>=1.9",
|
|
]
|
|
|
|
[project.scripts]
|
|
yt-scraper = "yt_scraper.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
yt_scraper = ["../templates/*.j2"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
markers = [
|
|
"integration: tests que requieren red (deselect with -m 'not integration')",
|
|
]
|