I want to organize my Scala packages and love how Python solves this issue with pip
.
Can you recommend a similar tool for the management of Scala packages?
EDIT: I am looking for an easy installation of new packages with all it's dependencies like
>>> pip install <a_package> # installs a_package with all dependencies.
The most directly similar is probably Scala Build Tool. Specifically, Library Dependencies. The Java ecosystem includes many libraries and build tools, Scala is built on Java. So you gain the ability to leverage things like -
Further, because everything is run inside a virtual machine; there is no "system" level install. You can start with your CLASSPATH and for more investigate class loading.
#!/bin/sh # From http://www.scalaclass.com/node/10 - CLASSPATH L=`dirname $0`/../lib cp=`echo $L/*.jar|sed 's/ /:/g'` exec scala -classpath "$cp" "$0" "$@" !# import com.my.Goodness val goodness = new Goodness world.hello
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With