diff --git a/README.md b/README.md index 111aaae..61af552 100644 --- a/README.md +++ b/README.md @@ -6,21 +6,12 @@ https://isarn.github.io/isarn-sketches-spark/latest/api/#org.isarnproject.sketch ## How to use in your project -#### sbt ``` scala -resolvers += "isarn project" at "https://dl.bintray.com/isarn/maven/" +// Note that the version of spark and python is part of the release name. +// This example is for spark 2.2 and python 2.7: +libraryDependencies += "org.isarnproject" %% "isarn-sketches-spark" % "0.2.0-sp2.2-py2.7" -libraryDependencies += "org.isarnproject" %% "isarn-sketches-spark" % "0.1.0" -``` - -#### maven -``` xml - - org.isarnproject - isarn-sketches-spark_2.10 - 0.1.0 - pom - +// currently supported: python 2.7, 3.5, spark 2.1, 2.2, scala 2.10, 2.11 ``` ## Examples diff --git a/build.sbt b/build.sbt index 46517ce..1ba0a87 100644 --- a/build.sbt +++ b/build.sbt @@ -8,7 +8,7 @@ val packageVersion = "0.2.0" val sparkVersion = "2.2.0" -val pythonVersion = "2.7" +val pythonVersion = "3.5" val sparkSuffix = s"""sp${sparkVersion.split('.').take(2).mkString(".")}"""