Debian Codegraph @

third_party/python/aiohttp/vendor/README.rst

raw
1 LLHTTP
2 ------
3
4 When building aiohttp from source, there is a pure Python parser used by default.
5 For better performance, you may want to build the higher performance C parser.
6
7 To build this ``llhttp`` parser, first get/update the submodules (to update to a
8 newer release, add ``--remote``)::
9
10 git submodule update --init --recursive
11
12 Then build ``llhttp``::
13
14 cd vendor/llhttp/
15 npm ci
16 make
17
18 Then build our parser::
19
20 cd -
21 make cythonize
22
23 Then you can build or install it with ``python -m build`` or ``pip install -e .``