Skip to content

Commit 95fe320

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/google-cloud-data-qna/setup.py

+5-1
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-data-qna",
39-
packages=setuptools.PEP420PackageFinder.find(),
39+
packages=[
40+
package
41+
for package in setuptools.PEP420PackageFinder.find()
42+
if package.startswith("google")
43+
],
4044
namespace_packages=("google", "google.cloud"),
4145
platforms="Posix; MacOS X; Windows",
4246
include_package_data=True,

0 commit comments

Comments
 (0)