Skip to content

Commit

Permalink
Include tests in sdist (#122)
Browse files Browse the repository at this point in the history
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
(cherry picked from commit e8bf40d)
  • Loading branch information
parona-source authored and github-actions[bot] committed Dec 13, 2023
1 parent 83c6e99 commit 2fef384
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ include setup.py
include elastic_transport/py.typed

prune docs/_build
prune tests
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
long_description = f.read()

packages = [
package for package in find_packages() if package.startswith("elastic_transport")
package
for package in find_packages(exclude=["tests"])
if package.startswith("elastic_transport")
]

setup(
Expand Down

0 comments on commit 2fef384

Please sign in to comment.