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:
committed by
Vijayan Balasubramanian
parent
2dc1992032
commit
eaa0cd8765
@@ -41,10 +41,11 @@ with open(join(base_dir, package_name.replace("-", ""), "_version.py")) as f:
|
||||
with open(join(base_dir, "README.md")) as f:
|
||||
long_description = f.read().strip()
|
||||
|
||||
module_dir = package_name.replace("-", "")
|
||||
packages = [
|
||||
package
|
||||
for package in find_packages(where=".", exclude=("test_opensearchpy*",))
|
||||
if package == package_name or package.startswith(package_name + ".")
|
||||
if package == module_dir or package.startswith(module_dir + ".")
|
||||
]
|
||||
|
||||
install_requires = [
|
||||
|
||||
Reference in New Issue
Block a user