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

Commit 8b176e5

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@
4545
author_email="googleapis-packages@google.com",
4646
license="Apache 2.0",
4747
url=url,
48-
packages=setuptools.PEP420PackageFinder.find(),
48+
packages=[
49+
package
50+
for package in setuptools.PEP420PackageFinder.find()
51+
if package.startswith("google")
52+
],
4953
namespace_packages=("google", "google.cloud"),
5054
platforms="Posix; MacOS X; Windows",
5155
include_package_data=True,

0 commit comments

Comments
 (0)