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

Commit dfaec68

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

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
@@ -44,7 +44,11 @@
4444
author_email="[email protected]",
4545
license="Apache 2.0",
4646
url=url,
47-
packages=setuptools.PEP420PackageFinder.find(),
47+
packages=[
48+
package
49+
for package in setuptools.PEP420PackageFinder.find()
50+
if package.startswith("google")
51+
],
4852
namespace_packages=("google", "google.cloud"),
4953
platforms="Posix; MacOS X; Windows",
5054
include_package_data=True,

0 commit comments

Comments
 (0)