-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
69 lines (57 loc) · 1.73 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
[tool.poetry]
name = "r2k"
version = "0.7.4"
description = "A tool that lets you periodically send articles received from an RSS feed to your Kindle"
authors = ["Pavel Brodsky <[email protected]>"]
license = "MIT"
repository = "https://github.com/mcouthon/r2k"
homepage = "https://github.com/mcouthon/r2k"
keywords = ["rss", "atom", "kindle", "reading"]
readme = "README.md"
packages = [
{ include = "r2k" },
# Bring the readability package in a git submodule
{ include = "readability", from = "python-readability" },
]
include = [
"templates/**/*"
]
[tool.poetry.scripts]
r2k = "r2k.cli:main"
[tool.poetry.dependencies]
python = "^3.8"
# Make it optional, as it's only relevant if we're using the mercury parser API
docker = { version = "^4.2.0", optional = true }
feedparser = "^5.2.1"
click = "^7.1.1"
pyyaml = "^5.3.1"
beautifulsoup4 = "^4.9.0"
pick = "^0.6.7"
python-dateutil = "^2.8.1"
orjson = "^3.6.7"
requests = "^2.24.0"
# These 3 are required by readability-lxml (which we're getting from the submodule).
# The convoluted installation is due to the fact that one can't publish git dependencies in PYPI
# and I didn't want to have to publish a readability-lxml clone on PYPI (the clone would've
# been necessary as this version has some changes related to parsing image rich feeds like XKCD.com)
chardet = "^3.0.4"
lxml = "^4.5.2"
cssselect = "^1.1.0"
arrow = "^0.15.8"
[tool.poetry.dev-dependencies]
pre-commit = "^2.2.0"
isort = "^4.3.21"
black = "^21.10b0"
pyupgrade = "^2.2.0"
mypy = "^0.770"
pydocstyle = "^5.0.2"
pytest = "^5.4.1"
flake8 = "^4.0.1"
pycodestyle = "^2.8.0"
[tool.poetry.extras]
docker = ["docker"]
[tool.black]
line-length = 120
[build-system]
requires = ["poetry>=1.1.3"]
build-backend = "poetry.masonry.api"