Skip to content

Commit 597a47c

Browse files
authored
fix: exclude docs and tests from package (#69)
Only include packages that start with google in the published artifact
1 parent b8862db commit 597a47c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/google-cloud-functions/setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@
3636
author_email="googleapis-packages@google.com",
3737
license="Apache 2.0",
3838
url="https://github.com/googleapis/python-functions",
39-
packages=setuptools.PEP420PackageFinder.find(),
39+
packages=[
40+
package
41+
for package in setuptools.PEP420PackageFinder.find()
42+
if package.startswith("google")
43+
],
4044
namespace_packages=("google", "google.cloud"),
4145
platforms="Posix; MacOS X; Windows",
4246
include_package_data=True,

0 commit comments

Comments
 (0)