blob: 041e62dae69e3ef9c100ba500d72986df2155eac [file] [log] [blame]
Henry Schreinerfd61f502020-09-16 17:13:41 -04001[metadata]
Henry Schreiner81555ce2020-09-17 15:40:09 -04002long_description = file: README.rst
3long_description_content_type = text/x-rst
Henry Schreinerfd61f502020-09-16 17:13:41 -04004description = Seamless operability between C++11 and Python
5author = Wenzel Jakob
Henry Schreiner319b9962020-09-30 17:17:59 -04006author_email = wenzel.jakob@epfl.ch
7url = https://github.com/pybind/pybind11
Henry Schreinerfd61f502020-09-16 17:13:41 -04008license = BSD
9
10classifiers =
11 Development Status :: 5 - Production/Stable
12 Intended Audience :: Developers
13 Topic :: Software Development :: Libraries :: Python Modules
14 Topic :: Utilities
15 Programming Language :: C++
16 Programming Language :: Python :: 2.7
17 Programming Language :: Python :: 3
18 Programming Language :: Python :: 3.5
19 Programming Language :: Python :: 3.6
20 Programming Language :: Python :: 3.7
21 Programming Language :: Python :: 3.8
Henry Schreiner4d037432020-10-21 16:21:44 -040022 Programming Language :: Python :: 3.9
Henry Schreinerfd61f502020-09-16 17:13:41 -040023 License :: OSI Approved :: BSD License
24 Programming Language :: Python :: Implementation :: PyPy
25 Programming Language :: Python :: Implementation :: CPython
26 Programming Language :: C++
27 Topic :: Software Development :: Libraries :: Python Modules
28
29keywords =
30 C++11
31 Python bindings
32
33[options]
34python_requires = >=2.7, !=3.0, !=3.1, !=3.2, !=3.3, !=3.4
35zip_safe = False
36
Wenzel Jakob929fd7e2015-10-15 18:24:12 +020037[bdist_wheel]
38universal=1
Dean Moldovanbad17402016-11-20 21:21:54 +010039
Henry Schreinerfd61f502020-09-16 17:13:41 -040040[check-manifest]
41ignore =
42 tests/**
43 docs/**
44 tools/**
45 include/**
Henry Schreiner2db02642021-01-19 19:10:26 -050046 .*
Henry Schreinerfd61f502020-09-16 17:13:41 -040047 pybind11/include/**
48 pybind11/share/**
49 CMakeLists.txt
50
51
Dean Moldovanbad17402016-11-20 21:21:54 +010052[flake8]
Dean Moldovan76e993a2016-12-13 00:59:28 +010053max-line-length = 99
Dean Moldovanbad17402016-11-20 21:21:54 +010054show_source = True
55exclude = .git, __pycache__, build, dist, docs, tools, venv
56ignore =
Unknown0b3f44e2017-11-01 21:08:06 -040057 # required for pretty matrix formatting: multiple spaces after `,` and `[`
Wenzel Jakob25abf7e2019-02-04 17:09:47 +010058 E201, E241, W504,
59 # camelcase 'cPickle' imported as lowercase 'pickle'
60 N813
Henry Schreinerfd61f502020-09-16 17:13:41 -040061 # Black conflict
62 W503, E203
Henry Schreiner645d8382020-10-14 14:08:41 -040063
64[mypy]
65files = pybind11
Henry Fredrick Schreinerdff9b3b2021-01-26 19:25:35 -050066python_version = 2.7
67warn_unused_configs = True
68
69# Currently (0.800) identical to --strict
70disallow_any_generics = True
71disallow_subclassing_any = True
72disallow_untyped_calls = True
73disallow_untyped_defs = True
74disallow_incomplete_defs = True
75check_untyped_defs = True
76disallow_untyped_decorators = True
77no_implicit_optional = True
78warn_redundant_casts = True
79warn_unused_ignores = True
80warn_return_any = True
81no_implicit_reexport = True
82strict_equality = True
83
84[tool:pytest]
85timeout = 300