Skip to content

Commit

Permalink
Exclude tests from find_packages (#200)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bradsbrown authored Aug 11, 2021
1 parent 4e607b4 commit de7dd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def get_long_description():
setup(
name="mangum",
version="0.12.1",
packages=find_packages(),
packages=find_packages(exclude=["tests*"]),
license="MIT",
url="https://github.com/jordaneremieff/mangum",
description="AWS Lambda & API Gateway support for ASGI",
Expand Down

0 comments on commit de7dd35

Please sign in to comment.