# Mathematica package manager

I want to bundle up a Mathematica package that I've written and distribute it as open source. It has a couple of dependencies that I'd like to automatically download independently from my package as well.

Is there any sort of established Mathematica package manager and package distribution site? (I'm thinking along the lines of pip for Python, gem for Ruby, nuget for .NET, hackage for Haskell, that sort of thing.)

I've seen Wolfram MathSource, and as near as I can tell its aim seems to be to collect various contributed packages from around the web into a central place, but it doesn't feel very active (maybe I'm wrong?).

-

I'm not aware of any existing package manager. As to activity of Wolfram MathSource, let's ask Mathematica:

libraryLinks =
Select[
Import[
"http://library.wolfram.com/infocenter/search/?page=1;search_results=1;search_item_type=19&pages_count=100000",
],
StringMatchQ[#, RegularExpression[".*library.*"]] &
];

dates =
Function[{ll},
Cases[Import[ll,"Data"],
_String?(StringMatchQ[#,DatePattern[{"Year", "Month", "Day"}]] &),
Infinity]

Histogram[(DateList /@ dates)[[All, 1]], {1}]


Indeed, it doesn't seem to be too busy lately.

-
Nice method/chart. I wonder why the collapse. –  Mr.Wizard Jul 10 '12 at 14:56
@Mr.Wizard might have something to do with the launch of Wolfram Demonstrations. I believe that happened somewhere in 2006. There are now over 8000 demonstrations and only about 1800 MathSource entries. –  Sjoerd C. de Vries Jul 10 '12 at 15:18
Perhaps, but there used to be a lot of (re)usable packages posted to MathSource. Demonstrations are neat, but hardly a substitute. –  Mr.Wizard Jul 10 '12 at 15:29
mr.wizard Agreed, but I imagine many of the package authors have moved over. –  Sjoerd C. de Vries Jul 10 '12 at 15:40
I thought everyone has moved to MSE? Seriously, there are many services these days which let users provide code in various ways which are much more convenient than MathSource (sourceforge,githup,google code,...). I guess that many package authors have moved to one of these. I would also wonder how many of the MathSource entries actually are packages, I think many of them are other "publications" e.g. notebooks used in talks etc., publishers of those also might have moved to other services (e.g. blogs,...) –  Albert Retey May 28 '13 at 7:35