-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
75 lines (64 loc) · 1.71 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
[tool.poetry]
name = "parselcli"
version = "1.2.2rc1"
description = "CLI interpreter for xpath/css selectors"
readme = "README.md"
homepage = "https://scrapecrow.com"
repository = "https://github.com/granitosaurus/parsel-cli"
authors = ["granitosaurus <[email protected]>"]
license = "GPLv3"
packages = [
{ include = "parselcli" },
]
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet',
]
[tool.poetry.dependencies]
python = "^3.7"
parsel = "^1.6.0"
requests-cache = "^0.9.1"
prompt-toolkit = "^3.0.20"
click = "^8.0.1"
Brotli = "^1.0.9"
toml = "^0.10.2"
loguru = "^0.5.3"
rich = "^10.11.0"
beautifulsoup4 = "^4.10.0"
playwright = { version="^1.17.2", optional=true }
pyperclip = "^1.8.2"
nest-asyncio = "^1.5.4"
[tool.poetry.extras]
browser = ["playwright"]
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
taskipy = "^1.9.0"
black = "^21.9b0"
pylint = "^2.11.1"
flake8 = "^3.9.2"
[tool.black]
line-length = 120
target-version = ['py36', 'py37', 'py38', 'py39']
[tool.poetry.scripts]
parsel = "parselcli.cli:cli"
[tool.taskipy.settings]
use_vars = true
[tool.taskipy.variables]
pkg = "parselcli"
[tool.taskipy.tasks]
test = "pytest tests/"
fmt = "black {pkg}"
check_fmt = "black --check {pkg}"
lint = "pylint {pkg}"
flake = "flake8 {pkg}"
check = "task check_fmt && task flake && task lint"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"