Skip to content

Commit 808e2b9

Browse files
committed
[setup.py] Use PEP625-compliant lowercase 'brotli' package name
PyPI now requires that wheel filenames and metadata use normalized package names following PEP 625. Modern build tooling automatically normalize this, however this does not happen for old python versions (e.g. 2.7, 3.6, 3.7) which makes their upload fail. I had to apply the same patch to the v1.2.0 release be able to upload all the python wheels to PyPI, see: #1327 (comment) google/brotli-wheels@ca4fed1 It makes more sense to have this in here and get rid of the patch, regardless of when we drop support for those EOL pythons.
1 parent 1ed8c49 commit 808e2b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def build_extension(self, ext):
140140
)
141141

142142

143-
NAME = "Brotli"
143+
NAME = "brotli"
144144

145145
VERSION = get_version()
146146

0 commit comments

Comments
 (0)