I want to organize my Scala packages and love how Python solves this issue with
>>> 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 -
#!/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