Skip to content

Commit

Permalink
setup.py - include type stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
K0lb3 authored and eustas committed Nov 12, 2024
1 parent 4b94842 commit 9680040
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions python/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .brotli import *
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ def build_extension(self, ext):

PACKAGE_DIR = {'': 'python'}

PY_MODULES = ['brotli']

class VersionedExtension(Extension):
def __init__(self, *args, **kwargs):
define_macros = []
Expand Down Expand Up @@ -268,7 +266,8 @@ def get_tag(self):
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)

0 comments on commit 9680040

Please sign in to comment.