Skip to content

Commit b8a70d9

Browse files
authored
fix: exclude docs and tests from package (#161)
1 parent ac60dc1 commit b8a70d9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@
4343
author_email="googleapis-packages@google.com",
4444
license="Apache 2.0",
4545
url="https://github.com/googleapis/python-pubsublite",
46-
packages=setuptools.PEP420PackageFinder.find(),
46+
packages=[
47+
package
48+
for package in setuptools.PEP420PackageFinder.find()
49+
if package.startswith("google")
50+
],
4751
namespace_packages=("google", "google.cloud"),
4852
platforms="Posix; MacOS X; Windows",
4953
include_package_data=True,

0 commit comments

Comments
 (0)