11This directory contains the code for the Python ` brotli ` module,
2- ` bro.py ` tool, and roundtrip tests.
2+ and roundtrip tests.
33
4- Only Python 2.7 + is supported.
4+ Only Python 3.10 + is supported.
55
66We provide a ` Makefile ` to simplify common development commands.
77
@@ -17,13 +17,17 @@ following command from this directory:
1717
1818 $ make install
1919
20- If you already have native Brotli installed on your system and want to use this one instead of the vendored sources, you
21- should set the ` USE_SYSTEM_BROTLI=1 ` environment variable when building the wheel, like this:
20+ If you already have native Brotli installed on your system and want to use
21+ this one instead of the vendored sources, you should set
22+ the ` USE_SYSTEM_BROTLI=1 ` environment variable when building the wheel,
23+ like this:
2224
2325 $ USE_SYSTEM_BROTLI=1 pip install brotli --no-binary brotli
2426
25- Brotli is found via the ` pkg-config ` utility. Moreover, you must build all 3 ` brotlicommon ` , ` brotlienc ` , and ` brotlidec `
26- components. If you're installing brotli from the package manager, you need the development package, like this on Fedora:
27+ Brotli is found via the ` pkg-config ` utility. Moreover, you must build
28+ all 3 ` brotlicommon ` , ` brotlienc ` , and ` brotlidec ` components. If you're
29+ installing brotli from the package manager, you need the development package,
30+ like this on Fedora:
2731
2832 $ dnf install brotli brotli-devel
2933
@@ -45,8 +49,8 @@ able to edit the source files, you can use the `setuptools`
4549
4650### Code Style
4751
48- Brotli's code follows the [ Google Python Style Guide] [ ] . To
49- automatically format your code, first install [ YAPF] [ ] :
52+ Brotli code follows the [ Google Python Style Guide] [ ] .
53+ To automatically format your code, first install [ YAPF] [ ] :
5054
5155 $ pip install yapf
5256
@@ -56,7 +60,6 @@ Then, to format all files in the project, you can run:
5660
5761See the [ YAPF usage] [ ] documentation for more information.
5862
59-
6063[ PyPI ] : https://pypi.org/project/Brotli/
6164[ development mode ] : https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode
6265[ Google Python Style Guide ] : https://google.github.io/styleguide/pyguide.html
0 commit comments