Skip to content

Commit 78b27a7

Browse files
committed
include tests in sdist and exclude tests in wheels
Closes #119 Signed-off-by: Alfred Wingate <[email protected]>
1 parent 97542b2 commit 78b27a7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
long_description = f.read()
2929

3030
packages = [
31-
package for package in find_packages() if package.startswith("elastic_transport")
31+
package for package in find_packages(exclude=['tests']) if package.startswith("elastic_transport")
3232
]
3333

3434
setup(

0 commit comments

Comments
 (0)