Dependency detection

C / C++

 * Scan #includes
 * What to do with same names?

Mono

 * Scan the project files (MonoDevelop, ...) if any (it should include what packages to 'link')

C#

 * Scan "using PackageName"

Python

 * scanning python files and looking for "import" statements may help determine the python dependencies required

Look at build tool
Each buildtool (scons, autotools, waf, ...) has its own dependecy checking, we could run that and scan the output to see what is missing. This should be in my opinion the first method that is being tried (before scanning the sourcefiles)