Update setup.py to correctly pick up Python files

And also re-update package name in utils/build-dists.py so that it is
uninstalled successfully

Signed-off-by: Rushi Agrawal <[email protected]>
This commit is contained in:
Rushi Agrawal
2021-09-19 18:18:09 -07:00
committed by Vijayan Balasubramanian
parent 2dc1992032
commit eaa0cd8765
2 changed files with 10 additions and 2 deletions
+8 -1
View File
@@ -161,7 +161,14 @@ def test_dist(dist):
)
# Uninstall the dist, see that we can't import things anymore
run(venv_python, "-m", "pip", "uninstall", "--yes", dist_name)
run(
venv_python,
"-m",
"pip",
"uninstall",
"--yes",
dist_name.replace("opensearchpy", "opensearch-py"),
)
run(
venv_python,
"-c",