-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (64 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
74 lines (64 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[project]
name = "news-crawler-collection"
version = "0.1.0"
description = "A multi-platform news and content crawler collection for educational purposes"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"lxml==5.3.0",
"parsel==1.9.1",
"playwright==1.42.0",
"pydantic==2.9.2",
"requests==2.32.3",
"tenacity==8.2.2",
"DrissionPage==4.1.0.9",
"pytz==2024.2",
"demjson3==3.0.6",
"curl-cffi==0.7.3",
"news-extractor-core",
"news-extractor-backend",
"news-extractor-mcp",
]
[project.optional-dependencies]
dev = ["pytest>=7.0.0"]
[project.scripts]
news-extractor-backend = "news_extractor_backend.cli:main"
news-extractor-mcp = "news_extractor_mcp.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = []
[tool.uv]
[tool.uv.sources]
news-extractor-core = { workspace = true }
news-extractor-backend = { workspace = true }
news-extractor-mcp = { workspace = true }
[tool.uv.workspace]
members = [
"news_extractor_core",
"news_extractor_backend",
"news_extractor_mcp",
]
[tool.hatch.build.targets.wheel]
packages = [
"news_crawler",
"toutiao_news",
"wechat_news",
"detik_news",
"naver_news",
"lennysnewsletter",
"quora",
"pexel",
"pixabay",
"cover_video",
"mixkit_video",
"video_config",
"libs",
]
[[tool.uv.index]]
url = "https://pypi.org/simple"
default = true
[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = false