Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
fix: exclude docs and tests from package (#83)
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 authored Jun 16, 2021
1 parent b7afb1d commit 3ef23e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
author_email="googleapis-packages@google.com",
license="Apache 2.0",
url="https://github.com/googleapis/python-bigquery-connection",
packages=setuptools.PEP420PackageFinder.find(),
packages=[
package
for package in setuptools.PEP420PackageFinder.find()
if package.startswith("google")
],
namespace_packages=("google", "google.cloud"),
platforms="Posix; MacOS X; Windows",
include_package_data=True,
Expand Down

0 comments on commit 3ef23e5

Please sign in to comment.