Skip to content

Commit b000391

Browse files
[Backport 8.11] Include tests in sdist (#132)
* Include tests in sdist (#122) Signed-off-by: Alfred Wingate <[email protected]> Co-authored-by: Quentin Pradet <[email protected]> (cherry picked from commit e8bf40d)
1 parent f46863e commit b000391

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ include setup.py
66
include elastic_transport/py.typed
77

88
prune docs/_build
9-
prune tests
109
recursive-exclude * __pycache__
1110
recursive-exclude * *.py[co]

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
long_description = f.read()
2929

3030
packages = [
31-
package for package in find_packages() if package.startswith("elastic_transport")
31+
package
32+
for package in find_packages(exclude=["tests"])
33+
if package.startswith("elastic_transport")
3234
]
3335

3436
setup(

0 commit comments

Comments
 (0)