Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit c75b52b

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@
3636
author_email="[email protected]",
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)