Incanter now includes several project.clj files, one for the overall project and one for each submodule. The top-level project.clj file builds what was formerly called incanter-app/incanter-full using the modules incanter-core, incanter-charts, incanter-processing, incanter-io, incanter-pdf, and incanter-mongodb.
The modules live in the modules/ directory, and each is an independent Leiningen project that can be built as a standalone library.
The script/ directory has repl and swank scripts (both sh and bat) stolen from labrepl, and simple scripts for managing the builds of all the modules (install, test, clean).
One bonus of this change is that I have been able to push Incanter and its modules back on to Clojars.org.
To include the full library as a dependency in your Leiningen project, add the following entry to your project.clj file:
If you only want to include a subset of Incanter’s functionality in your project, use one of the following modules instead:
[incanter/incanter-core "1.2.1-SNAPSHOT"] [incanter/incanter-charts "1.2.1-SNAPSHOT"] [incanter/incanter-io "1.2.1-SNAPSHOT"] [incanter/incanter-processing "1.2.1-SNAPSHOT"] [incanter/incanter-pdf "1.2.1-SNAPSHOT"] [incanter/incanter-mongodb "1.2.1-SNAPSHOT"]
Updated build instructions can be found in the new README available in Incanter’s Github repository.