Skip to content

Commit

Permalink
Correct library build
Browse files Browse the repository at this point in the history
- Add asyncio to build package
  • Loading branch information
ivan-chetverikov-raft committed Jun 17, 2024
1 parent 564c467 commit 849db0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ classifier =
[options]
install_requires =
python_requires = >=3.8
packages = tenacity
packages =
tenacity
tenacity.asyncio

[options.packages.find]
exclude = tests
Expand Down
2 changes: 1 addition & 1 deletion tenacity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ def wrap(f: WrappedFn) -> WrappedFn:
return wrap


from tenacity._asyncio import AsyncRetrying # noqa:E402,I100
from tenacity.asyncio import AsyncRetrying # noqa:E402,I100

if tornado:
from tenacity.tornadoweb import TornadoRetrying
Expand Down

0 comments on commit 849db0c

Please sign in to comment.