setup.py - include type stubs

This commit is contained in:
Rudolf Kolbe 2024-10-06 01:31:58 +02:00 committed by Eugene Kliuchnikov
parent 4b9484271b
commit 9680040fe2
2 changed files with 3 additions and 3 deletions

1
python/__init__.py Normal file
View File

@ -0,0 +1 @@
from .brotli import *

View File

@ -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)