forked from ithaka/apiron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
91 lines (80 loc) · 1.93 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
[metadata]
name = apiron
version = 5.0.0
description = apiron helps you cook a tasty client for RESTful APIs. Just don't wash it with SOAP.
author = Ithaka Harbors, Inc.
author_email = [email protected]
url = https://github.com/ithaka/apiron
license = MIT
license_file = LICENSE
long_description = file: README.md
long_description_content_type = text/markdown
project_urls =
Documentation=https://apiron.readthedocs.io
Source=https://github.com/ithaka/apiron
Tracker=https://github.com/ithaka/apiron/issues
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Topic :: Internet :: WWW/HTTP
Topic :: Software Development :: Libraries :: Python Modules
Programming Language :: Python
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
License :: OSI Approved :: MIT License
[options]
package_dir = =src
packages = find:
install_requires =
requests>=2.11.1,<3
[options.packages.find]
where = src
exclude =
tests*
[options.extras_require]
lint =
black
pyflakes
test =
pytest==5.2.2
pytest-cov==2.8.1
pytest-randomly==3.4.0
docs =
importlib-metadata==0.23
sphinx==2.2.1
sphinx-autobuild==0.7.1
######################
# Tool configuration #
######################
[coverage:run]
branch = True
source = apiron
omit =
tests/*
setup.py
[coverage:report]
precision = 2
show_missing = True
skip_covered = True
[tool:pytest]
testpaths = tests
addopts = -ra --strict --cov
xfail_strict = True
[tox:tox]
envlist = py36,py37,py38
[testenv]
extras = test
commands =
pytest {posargs}
[testenv:docs]
extras = docs
commands =
sphinx-build -b html docs {envtmpdir}/docs
[testenv:lint]
extras = lint
commands =
pyflakes {posargs:src tests}
black {posargs:--check src tests}