setup.cfg 2 KB
Newer Older
1
2
[tool:pytest]
python_files = tests/*.py test.py
hydrargyrum's avatar
hydrargyrum committed
3
4
5
6
7
8
9
10
testpaths =
    tests
    woob/browser/browsers.py
    woob/browser/pages.py
    woob/browser/filters/standard.py
    woob/tools/json.py
    woob/tools/misc.py
# those files contain doctests
Laurent Bachelier's avatar
Laurent Bachelier committed
11
12

[isort]
ntome's avatar
ntome committed
13
known_first_party = woob, weboob, woob_modules
14
line_length = 120
Laurent Bachelier's avatar
Laurent Bachelier committed
15
16
17

[flake8]
max-line-length = 120
Laurent Bachelier's avatar
Laurent Bachelier committed
18
exclude = dist,*.egg-info,build,.git,__pycache__,boilerplate_data,stable_backport_data,*_ui.py
19
20
21

[easy_install]

22
23
24
25
26
27
28
[sdist]
owner = root
group = root

[bdist]
owner = root
group = root
29
30
31
32
33

[bdist_wheel]
owner = root
group = root
universal = 1
34
35

[metadata]
36
name = woob
37
# TODO fetch from __init__.py
Romain Bignon's avatar
Romain Bignon committed
38
version = 3.1
39

40
description = Woob, Web Outside Of Browsers
41
long_description = file:README.md
42
long_description_content_type = text/markdown
43
44

author = Romain Bignon
45
author_email = woob@woob.tech
46
maintainer = Romain Bignon
47
maintainer_email = romain@woob.tech
48

49
url = https://woob.tech/
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
license = GNU LGPL 3

classifiers =
    Environment :: Console
    License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
    Programming Language :: Python
    Programming Language :: Python :: 3
    Programming Language :: Python :: 3.5
    Programming Language :: Python :: 3.6
    Programming Language :: Python :: 3.7
    Programming Language :: Python :: 3.8
    Programming Language :: Python
    Topic :: Communications :: Email
    Topic :: Internet :: WWW/HTTP
    Topic :: Internet :: WWW/HTTP :: Browsers
    Topic :: Software Development :: Libraries :: Application Frameworks
    Topic :: Software Development :: Libraries :: Python Modules
    Topic :: Text Processing :: Markup :: HTML

[options]
python_requires = >= 3.5

install_requires =
    lxml
    cssselect
    requests>=2.0.0
    python-dateutil
    PyYAML
    html2text>=3.200
    six
    unidecode
    Pillow
    Babel

tests_require =
    flake8
86
87
    pytest
    pytest-cov
88
    xunitparser>=1.3.4
89
90
91
92
93
94
    coverage

# TODO [options.data_files]

[options.entry_points]
console_scripts =
95
    woob = woob.applications.main:WoobMain.run