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

Commit 20ebc47

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

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
@@ -36,7 +36,11 @@
3636
author_email="[email protected]",
3737
license="Apache 2.0",
3838
url="https://github.com/googleapis/python-domains",
39-
packages=setuptools.PEP420PackageFinder.find(),
39+
packages=[
40+
package
41+
for package in setuptools.PEP420PackageFinder.find()
42+
if package.startswith("google")
43+
],
4044
include_package_data=True,
4145
install_requires=(
4246
"google-api-core[grpc] >= 1.22.2, < 2.0.0dev",

0 commit comments

Comments
 (0)