mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
setup.py - include type stubs
This commit is contained in:
parent
4b9484271b
commit
9680040fe2
1
python/__init__.py
Normal file
1
python/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from .brotli import *
|
5
setup.py
5
setup.py
@ -114,8 +114,6 @@ CLASSIFIERS = [
|
||||
|
||||
PACKAGE_DIR = {'': 'python'}
|
||||
|
||||
PY_MODULES = ['brotli']
|
||||
|
||||
class VersionedExtension(Extension):
|
||||
def __init__(self, *args, **kwargs):
|
||||
define_macros = []
|
||||
@ -268,7 +266,8 @@ setup(
|
||||
platforms=PLATFORMS,
|
||||
classifiers=CLASSIFIERS,
|
||||
package_dir=PACKAGE_DIR,
|
||||
py_modules=PY_MODULES,
|
||||
packages=[''],
|
||||
package_data={'': ['__init__.py', 'brotli.py', 'brotli.pyi', 'py.typed']},
|
||||
ext_modules=EXT_MODULES,
|
||||
test_suite=TEST_SUITE,
|
||||
cmdclass=CMD_CLASS)
|
||||
|
Loading…
Reference in New Issue
Block a user