Kontinuation commented on code in PR #2393: URL: https://github.com/apache/sedona/pull/2393#discussion_r2427800127
########## docs/setup/compile.md: ########## @@ -106,52 +99,38 @@ wget -P $SPARK_HOME/jars/ https://repo.osgeo.org/repository/release/javax/media/ wget -P $SPARK_HOME/jars/ https://repo.osgeo.org/repository/release/javax/media/jai_imageio/${JAI_IMAGEIO_VERSION}/jai_imageio-${JAI_IMAGEIO_VERSION}.jar ``` -4) Compile the Sedona Scala and Java code with `-Dgeotools` and then copy the ==sedona-spark-shaded-{{ sedona.current_version }}.jar== to ==SPARK_HOME/jars/== folder. +3) Build Sedona Scala/Java jars with GeoTools shaded (from repo root) -``` +```bash +mvn clean install -DskipTests -Dgeotools cp spark-shaded/target/sedona-spark-shaded-*.jar $SPARK_HOME/jars/ ``` -5) Install the following libraries +4) Setup Python development environment -``` -sudo apt-get -y install python3-pip python-dev libgeos-dev -sudo pip3 install -U setuptools -sudo pip3 install -U wheel -sudo pip3 install -U virtualenvwrapper -sudo pip3 install -U pipenv -``` - -Homebrew can be used to install libgeos-dev in macOS: - -``` -brew install geos -``` Review Comment: It was intentionally removed. All dependencies should have prebuilt wheels for macOS, so there's no need to install geos. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
