Skip to content

Commit 64a2973

Browse files
bradsbrownkhamaileon
authored andcommitted
Exclude tests from find_packages (Kludex#200)
Necessary after Kludex#170 added a `tests/__init__.py` file that lead `find_packages` to treat `tests`as a package dir, which will clobber `mangum` users' ability to import from a repo-local `tests` directory.
1 parent 472e23c commit 64a2973

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
@@ -8,7 +8,7 @@ def get_long_description():
88
setup(
99
name="mangum",
1010
version="0.12.1",
11-
packages=find_packages(),
11+
packages=find_packages(exclude=["tests*"]),
1212
license="MIT",
1313
url="https://github.com/jordaneremieff/mangum",
1414
description="AWS Lambda & API Gateway support for ASGI",

0 commit comments

Comments
 (0)