in python/src/datasketches_spark/common.py [0:0]
def get_dependency_classpath() -> list[str]:
"""
Returns a list of absolute paths to the jar files included in the package.\n
Assumes that the jar files are located in the package's /deps subdir.
"""
# we need whatever is listed in dependencies.txt as well as
# datasketches-spark_<scala_veersion>-<ds-spark_version>.jar
jar_files = []
with (files("datasketches_spark.deps") / "dependencies.txt").open('r') as dependencies:
for dep in dependencies:
jar_files.append(dep.strip())
ds_spark_version = __version__
jar_files.append(f"datasketches-spark_{os.environ.get('SCALA_VERSION', '2.12')}-{ds_spark_version}.jar")
return ":".join([get_dependency_path(jar) for jar in jar_files])