Skip to content

Commit

Permalink
[Backport 8.11] Include tests in sdist (#132)
Browse files Browse the repository at this point in the history
* Include tests in sdist (#122)

Signed-off-by: Alfred Wingate <[email protected]>
Co-authored-by: Quentin Pradet <[email protected]>
(cherry picked from commit e8bf40d)
  • Loading branch information
github-actions[bot] authored Dec 13, 2023
1 parent f46863e commit b000391
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 b000391

Please sign in to comment.