Skip to content

Commit de7dd35

Browse files
authored
Exclude tests from find_packages (#200)
Necessary after #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 4e607b4 commit de7dd35

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)