From 12c1e5e08f6c8442f070efd4a2bf9b30a481bee8 Mon Sep 17 00:00:00 2001 From: Giorgio Ciotti Date: Tue, 13 Dec 2022 23:21:13 +0100 Subject: [PATCH] Correctly searching for subpackages only in the intended folder. (#614) Co-authored-by: Michael Diamant --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d82e1f94a..c6fdb98f9 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,12 @@ long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/algorand/pyteal", - packages=["pyteal"], + packages=setuptools.find_packages( + include=( + "pyteal", + "pyteal.*", + ) + ), install_requires=[ # when changing this list, also update docs/requirements.txt "py-algorand-sdk>=1.9.0,<2.0.0",