aiohttp

Форк
0
/
setup.cfg 
174 строки · 5.8 Кб
1
[metadata]
2
name = aiohttp
3
version = attr: aiohttp.__version__
4
url = https://github.com/aio-libs/aiohttp
5
project_urls =
6
  Chat: Matrix = https://matrix.to/#/#aio-libs:matrix.org
7
  Chat: Matrix Space = https://matrix.to/#/#aio-libs-space:matrix.org
8
  CI: GitHub Actions = https://github.com/aio-libs/aiohttp/actions?query=workflow%%3ACI
9
  Coverage: codecov = https://codecov.io/github/aio-libs/aiohttp
10
  Docs: Changelog = https://docs.aiohttp.org/en/stable/changes.html
11
  Docs: RTD = https://docs.aiohttp.org
12
  GitHub: issues = https://github.com/aio-libs/aiohttp/issues
13
  GitHub: repo = https://github.com/aio-libs/aiohttp
14
description = Async http client/server framework (asyncio)
15
long_description = file: README.rst
16
long_description_content_type = text/x-rst
17
maintainer = aiohttp team <team@aiohttp.org>
18
maintainer_email = team@aiohttp.org
19
license = Apache 2
20
license_files = LICENSE.txt
21
classifiers =
22
  Development Status :: 5 - Production/Stable
23

24
  Framework :: AsyncIO
25

26
  Intended Audience :: Developers
27

28
  License :: OSI Approved :: Apache Software License
29

30
  Operating System :: POSIX
31
  Operating System :: MacOS :: MacOS X
32
  Operating System :: Microsoft :: Windows
33

34
  Programming Language :: Python
35
  Programming Language :: Python :: 3
36
  Programming Language :: Python :: 3.9
37
  Programming Language :: Python :: 3.10
38
  Programming Language :: Python :: 3.11
39
  Programming Language :: Python :: 3.12
40

41
  Topic :: Internet :: WWW/HTTP
42

43
[options]
44
python_requires = >=3.9
45
packages = aiohttp
46
# https://setuptools.readthedocs.io/en/latest/setuptools.html#setting-the-zip-safe-flag
47
zip_safe = False
48
include_package_data = True
49

50
install_requires =
51
  aiohappyeyeballs >= 2.3.0
52
  aiosignal >= 1.1.2
53
  async-timeout >= 4.0, < 5.0 ; python_version < "3.11"
54
  frozenlist >= 1.1.1
55
  multidict >=4.5, < 7.0
56
  yarl >= 1.6, < 2.0
57

58
[options.exclude_package_data]
59
* =
60
    *.c
61
    *.h
62

63
[options.extras_require]
64
speedups =
65
  # required c-ares (aiodns' backend) will not build on windows
66
  aiodns >= 3.2.0; sys_platform=="linux" or sys_platform=="darwin"
67
  Brotli; platform_python_implementation == 'CPython'
68
  brotlicffi; platform_python_implementation != 'CPython'
69

70
[options.packages.find]
71
exclude =
72
  examples
73

74
[options.package_data]
75
# Ref:
76
# https://setuptools.readthedocs.io/en/latest/setuptools.html#options
77
# (see notes for the asterisk/`*` meaning)
78
* =
79
    *.so
80

81
[pep8]
82
max-line-length=79
83

84
[easy_install]
85
zip_ok = false
86

87
[flake8]
88
extend-select =
89
  B950,
90
  # NIC001 -- "Implicitly concatenated str literals on one line"
91
  NIC001,
92
  # NIC101 -- "Implicitly concatenated bytes literals on one line"
93
  NIC101,
94
# TODO: don't disable D*, fix up issues instead
95
ignore = N801,N802,N803,NIC002,NIC102,E203,E226,E305,W504,E252,E301,E302,E501,E704,W503,W504,D1,D4
96
max-line-length = 88
97
per-file-ignores =
98
    # I900: Shouldn't appear in requirements for examples.
99
    examples/*:I900
100

101
# flake8-requirements
102
known-modules = proxy.py:[proxy]
103
requirements-file = requirements/test.in
104
requirements-max-depth = 4
105

106
[isort]
107
line_length=88
108
include_trailing_comma=True
109
multi_line_output=3
110
force_grid_wrap=0
111
combine_as_imports=True
112

113
known_third_party=jinja2,pytest,multidict,yarl,gunicorn,freezegun
114
known_first_party=aiohttp,aiohttp_jinja2,aiopg
115

116
[report]
117
exclude_lines =
118
    @abc.abstractmethod
119
    @abstractmethod
120

121
[tool:pytest]
122
addopts =
123
    # show 10 slowest invocations:
124
    --durations=10
125

126
    # a bit of verbosity doesn't hurt:
127
    -v
128

129
    # report all the things == -rxXs:
130
    -ra
131

132
    # show values of the local vars in errors:
133
    --showlocals
134

135
    # `pytest-cov`:
136
    --cov=aiohttp
137
    --cov=tests/
138

139
    # run tests that are not marked with dev_mode
140
    -m "not dev_mode"
141
filterwarnings =
142
    error
143
    ignore:module 'ssl' has no attribute 'OP_NO_COMPRESSION'. The Python interpreter is compiled against OpenSSL < 1.0.0. Ref. https.//docs.python.org/3/library/ssl.html#ssl.OP_NO_COMPRESSION:UserWarning
144
    ignore:Unclosed client session <aiohttp.client.ClientSession object at 0x:ResourceWarning
145
    ignore:The loop argument is deprecated:DeprecationWarning:asyncio
146
    ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning::
147
    # The following deprecation warning is triggered by importing
148
    # `gunicorn.util`. Hopefully, it'll get fixed in the future. See
149
    # https://github.com/benoitc/gunicorn/issues/2840 for detail.
150
    ignore:module 'sre_constants' is deprecated:DeprecationWarning:pkg_resources._vendor.pyparsing
151
    # Deprecation warning emitted by setuptools v67.5.0+ triggered by importing
152
    # `gunicorn.util`.
153
    ignore:pkg_resources is deprecated as an API:DeprecationWarning
154
    # The deprecation warning below is happening under Python 3.11 and
155
    # is fixed by https://github.com/certifi/python-certifi/pull/199. It
156
    # can be dropped with the next release of `certify`, specifically
157
    # `certify > 2022.06.15`.
158
    ignore:path is deprecated. Use files.. instead. Refer to https.//importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.:DeprecationWarning:certifi.core
159
    # Dateutil deprecation warning already fixed upstream.
160
    # Can be dropped with the next release, `dateutil > 2.8.2`
161
    # https://github.com/dateutil/dateutil/pull/1285
162
    ignore:datetime.*utcfromtimestamp\(\) is deprecated and scheduled for removal:DeprecationWarning:dateutil.tz.tz
163
    # Tracked upstream and waiting for PR review
164
    # https://github.com/spulec/freezegun/issues/508
165
    # https://github.com/spulec/freezegun/pull/511
166
    ignore:datetime.*utcnow\(\) is deprecated and scheduled for removal:DeprecationWarning:freezegun.api
167
junit_suite_name = aiohttp_test_suite
168
norecursedirs = dist docs build .tox .eggs
169
minversion = 3.8.2
170
testpaths = tests/
171
xfail_strict = true
172
markers =
173
    dev_mode: mark test to run in dev mode.
174
    internal: tests which may cause issues for packagers, but should be run in aiohttp's CI.
175

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.