Skip to content

Commit

Permalink
fix: exclude docs and tests from package (#481)
Browse files Browse the repository at this point in the history
Only include packages that start with google in the published artifact
  • Loading branch information
busunkim96 committed Jun 16, 2021
1 parent 2aceba5 commit b209904
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Expand Up @@ -44,7 +44,11 @@
version=version,
description=description,
long_description=readme,
packages=setuptools.PEP420PackageFinder.find(),
packages=[
package
for package in setuptools.PEP420PackageFinder.find()
if package.startswith("google")
],
entry_points={
"console_scripts": [
"tb-gcp-uploader=google.cloud.aiplatform.tensorboard.uploader_main:run_main"
Expand Down

0 comments on commit b209904

Please sign in to comment.