summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: d811ef9e3efdf1cc94aa1cf91533884b06e4ce42 (plain)
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
[metadata]
name = jsonschema
url = https://github.com/Julian/jsonschema
project_urls =
    Docs = https://python-jsonschema.readthedocs.io/en/latest/
description = An implementation of JSON Schema validation for Python
long_description = file: README.rst
author = Julian Berman
author_email = Julian@GrayVines.com
classifiers =
    Development Status :: 5 - Production/Stable
    Intended Audience :: Developers
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent
    Programming Language :: Python
    Programming Language :: Python :: 2
    Programming Language :: Python :: 2.7
    Programming Language :: Python :: 3
    Programming Language :: Python :: 3.5
    Programming Language :: Python :: 3.6
    Programming Language :: Python :: 3.7
    Programming Language :: Python :: Implementation :: CPython
    Programming Language :: Python :: Implementation :: PyPy

[options]
packages = find:
setup_requires = setuptools_scm
install_requires =
    attrs>=17.4.0
    importlib_metadata
    pyrsistent>=0.14.0
    setuptools
    six>=1.11.0
    functools32;python_version<'3'

[options.extras_require]
format =
    idna
    jsonpointer>1.13
    rfc3987
    strict-rfc3339
    webcolors

[options.entry_points]
console_scripts =
    jsonschema = jsonschema.cli:main

[options.package_data]
jsonschema = schemas/*.json

[bdist_wheel]
universal = 1

[flake8]
builtins = unicode
exclude =
    jsonschema/__init__.py
    jsonschema/_reflect.py

[pydocstyle]
match = (?!(test_|_|compat|cli)).*\.py  # see PyCQA/pydocstyle#323
add-select =
    D410, # Trailing whitespace plz
add-ignore =
    D107,  # Hah, no
    D200,  # 1-line docstrings don't need to be on one line
    D202,  # One line is fine.
    D412,  # Trailing whitespace plz
    D413,  # No trailing whitespace plz