From 5b2d957af058e004244e9e84c4a6c4bd884e6da5 Mon Sep 17 00:00:00 2001 From: Quentin BEY Date: Fri, 4 Jun 2021 10:02:40 +0200 Subject: [PATCH] packaging: do not include `docs` `scripts` and `tests` modules See. https://github.com/googleapis/python-recaptcha-enterprise/issues/74 Do not package internal development files: - docs - scripts - tests --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7eb566b..553639c 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ author_email="googleapis-packages@google.com", license="Apache 2.0", url="https://github.com/googleapis/python-recaptcha-enterprise", - packages=setuptools.PEP420PackageFinder.find(), + packages=setuptools.PEP420PackageFinder.find(exclude=('docs*', 'tests*', 'scripts*')), namespace_packages=("google", "google.cloud"), platforms="Posix; MacOS X; Windows", include_package_data=True,