refactor: migrate to src package layout and wscraper entry module
This commit is contained in:
22
pyproject.toml
Normal file
22
pyproject.toml
Normal 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"]
|
||||
Reference in New Issue
Block a user