-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
100 lines (90 loc) · 1.87 KB
/
pyproject.toml
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[project]
name = "blog2epub"
version = "1.5.0"
description = "Convert blog (blogspot.com, wordpress.com or another based on Wordpress) to epub using CLI or GUI."
authors = [{ name = "Bohdan Bobrowski", email = "bohdanbobrowski@gmail.com" }]
license = { file = "LICENSE" }
keywords = [
"android",
"blog",
"blogging",
"ebook",
"ebook-downloader",
"ebook-generator",
"ebook-reader",
"epub-generator",
"gui",
"linux",
"linux-desktop",
"macos",
"website-archive",
"windows",
]
readme = "README.md"
requires-python = ">=3.10, <3.13"
dependencies = [
"pydantic",
"beautifulsoup4",
"ebooklib",
"python-dateutil",
"atoma",
"fake-useragent",
"pyyaml",
"kivy",
"kivymd",
"pydantic-yaml",
"plyer",
"pyjnius",
"strip-tags",
"imagesize",
"filetype",
"html5lib",
"click",
"webencodings",
"soupsieve",
"pytz",
"ftfy",
]
[project.optional-dependencies]
dev = [
"ruff",
"pyinstaller",
"mypy",
"pytest",
"lxml-stubs",
"types-pyyaml",
"types-pyinstaller",
"types-python-dateutil",
"types-requests",
"cython",
"pytest-cov",
"types-pytz",
]
[project.scripts]
blog2epub = "blog2epub.blog2epub_cli:main"
blog2epubgui = "blog2epub.blog2epub_gui:main"
[tool.setuptools]
packages = [
"blog2epub",
"blog2epub.common",
"blog2epub.crawlers",
"blog2epub.crawlers.article_factory",
"blog2epub.models",
"assets",
]
[tool.setuptools.package-dir]
blog2epub = "blog2epub"
[tool.setuptools.package-data]
assets = ["*.ttf", "*.png"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "UP", "B", "I"]
ignore = ["E501"]
[tool.mypy]
exclude = ["venv", "dist", "build"]
[tool.ruff.lint.extend-per-file-ignores]
"blog2epub_gui.py" = ["E402"]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"