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

Commit 3ef23e5

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

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
@@ -35,7 +35,11 @@
3535
author_email="[email protected]",
3636
license="Apache 2.0",
3737
url="https://github.com/googleapis/python-bigquery-connection",
38-
packages=setuptools.PEP420PackageFinder.find(),
38+
packages=[
39+
package
40+
for package in setuptools.PEP420PackageFinder.find()
41+
if package.startswith("google")
42+
],
3943
namespace_packages=("google", "google.cloud"),
4044
platforms="Posix; MacOS X; Windows",
4145
include_package_data=True,

0 commit comments

Comments
 (0)