Skip to content

Commit b209904

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

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
@@ -44,7 +44,11 @@
4444
version=version,
4545
description=description,
4646
long_description=readme,
47-
packages=setuptools.PEP420PackageFinder.find(),
47+
packages=[
48+
package
49+
for package in setuptools.PEP420PackageFinder.find()
50+
if package.startswith("google")
51+
],
4852
entry_points={
4953
"console_scripts": [
5054
"tb-gcp-uploader=google.cloud.aiplatform.tensorboard.uploader_main:run_main"

0 commit comments

Comments
 (0)