setup.cfg 2.13 KB
Newer Older
1
[metadata]
2
3
long_description = file: README.rst
long_description_content_type = text/x-rst
4
5
description = Seamless operability between C++11 and Python
author = Wenzel Jakob
6
7
author_email = wenzel.jakob@epfl.ch
url = https://github.com/pybind/pybind11
8
9
10
11
12
13
14
15
16
17
18
19
20
21
license = BSD

classifiers =
    Development Status :: 5 - Production/Stable
    Intended Audience :: Developers
    Topic :: Software Development :: Libraries :: Python Modules
    Topic :: Utilities
    Programming Language :: C++
    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 :: 3.8
22
    Programming Language :: Python :: 3.9
23
24
25
26
27
28
29
30
31
32
33
34
35
36
    License :: OSI Approved :: BSD License
    Programming Language :: Python :: Implementation :: PyPy
    Programming Language :: Python :: Implementation :: CPython
    Programming Language :: C++
    Topic :: Software Development :: Libraries :: Python Modules

keywords =
    C++11
    Python bindings

[options]
python_requires = >=2.7, !=3.0, !=3.1, !=3.2, !=3.3, !=3.4
zip_safe = False

37
38
[bdist_wheel]
universal=1
39

40
41
42
43
44
45
[check-manifest]
ignore =
    tests/**
    docs/**
    tools/**
    include/**
46
    .*
47
48
49
50
51
    pybind11/include/**
    pybind11/share/**
    CMakeLists.txt


52
[flake8]
53
max-line-length = 99
54
55
56
show_source = True
exclude = .git, __pycache__, build, dist, docs, tools, venv
ignore =
Unknown's avatar
Unknown committed
57
    # required for pretty matrix formatting: multiple spaces after `,` and `[`
Wenzel Jakob's avatar
Wenzel Jakob committed
58
59
60
    E201, E241, W504,
    # camelcase 'cPickle' imported as lowercase 'pickle'
    N813
61
62
    # Black conflict
    W503, E203
63
64
65

[mypy]
files = pybind11
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
python_version = 2.7
warn_unused_configs = True

# Currently (0.800) identical to --strict
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
no_implicit_reexport = True
strict_equality = True

[tool:pytest]
timeout = 300