Skip to content

Commit c6977d3

Browse files
committed
Removed jar from pySparkCmd since it's in the whl file.
1 parent cc219a2 commit c6977d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyrasterframes/build.sbt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ pyNotebooks := {
2626
lazy val pySparkCmd = taskKey[Unit]("Create build and emit command to run in pyspark")
2727
pySparkCmd := {
2828
val s = streams.value
29-
val jvm = assembly.value
3029
val py = (Python / packageBin).value
3130
val script = IO.createTemporaryDirectory / "pyrf_init.py"
3231
IO.write(script, """
3332
import pyrasterframes
3433
from pyrasterframes.rasterfunctions import *
3534
""")
36-
val msg = s"PYTHONSTARTUP=$script pyspark --jars $jvm --py-files $py"
35+
val msg = s"PYTHONSTARTUP=$script pyspark --py-files $py"
3736
s.log.debug(msg)
3837
println(msg)
3938
}

0 commit comments

Comments
 (0)