-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.cfg
108 lines (98 loc) · 2.75 KB
/
setup.cfg
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
101
102
103
104
105
106
107
108
[metadata]
name = webscrapbook
version = attr: webscrapbook.__version__
author = Danny Lin
author_email = [email protected]
url = https://github.com/danny0838/PyWebScrapBook
description = A backend toolkit for management of WebScrapBook collection.
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT License
classifiers =
Development Status :: 5 - Production/Stable
Operating System :: OS Independent
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System
Topic :: Internet :: WWW/HTTP :: Indexing/Search
Topic :: Internet :: WWW/HTTP :: HTTP Servers
Topic :: Internet :: WWW/HTTP :: WSGI :: Server
Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Intended Audience :: End Users/Desktop
Intended Audience :: Science/Research
[options]
python_requires = ~=3.7
install_requires =
flask >= 2.0.0
werkzeug >= 2.0.1
jinja2 >= 2.10.1
lxml >= 4.0
commonmark >= 0.8
packages = find:
[options.extras_require]
adhoc_ssl =
cryptography
dev =
flake8 >= 4.0
pep8-naming >= 0.13.2
flake8-comprehensions >= 3.7
flake8-string-format >= 0.3
flake8-quotes >= 3.4
flake8-bugbear >= 22.0
flake8-isort >= 4.2
isort >= 5.5
tox >= 4.0
[options.packages.find]
include = webscrapbook*
[options.package_data]
webscrapbook =
resources/*.*
themes/default/static/*.*
themes/default/templates/*.*
themes/default/locales/*/*.py
[options.entry_points]
console_scripts =
wsb = webscrapbook.cli:main
# deprecated since 2.1.0
webscrapbook = webscrapbook.cli:main
# deprecated since 2.1.0
wsbview = webscrapbook.cli:view
[flake8]
exclude = build, .git
max-line-length = 160
ignore-names =
setUp
tearDown
setUpClass
tearDownClass
setUpModule
tearDownModule
asyncSetUp
asyncTearDown
setUpTestData
failureException
longMessage
maxDiff
# Flake8 Rules
# https://www.flake8rules.com/
extend-select =
# E123: closing bracket does not match indentation of opening bracket's line
E123
ignore =
# W503: Line break occurred before a binary operator
W503
per-file-ignores =
webscrapbook/_polyfill/**: F401, F403, F405, Q000
webscrapbook/themes/default/locales/*: P103, E501
webscrapbook/util/__init__.py: F401, F403
tests/test_cli.py: C408
tests/test_locales/*: P103
[isort]
multi_line_output = 3
include_trailing_comma = true