refactor: migrate to src package layout and wscraper entry module

This commit is contained in:
2026-03-07 01:40:18 +03:00
parent b224df5847
commit 1ef7118ba7
14 changed files with 274 additions and 330 deletions

22
pyproject.toml Normal file
View File

@@ -0,0 +1,22 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "wscraper"
version = "0.1.0"
description = "Multi-site scraper CLI"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"scrapling[fetchers]==0.4.1",
]
[project.scripts]
wscraper = "wscraper.cli:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]