1 Adding external dependencies {#extdepends}
2 ============================
4 You can have an IMP module depend on some external library.
5 See the files `modules/kernel/dependencies.py` and
6 `modules/kernel/dependency/Log4CXX.description`
for examples.
8 Think very carefully before introducing a
new external dependency. Each
9 additional dependency makes it harder
for people to use your code.
10 If you
do need to add a dependency, it needs to be open source and available
11 under a suitably permissive license (
for %example
if it is available under
12 the GPL then you cannot license your module as LGPL, but will need to also
15 Generally
if you need to add a
new dependency you should probably also put
16 your code in a
new module, rather than adding it to an existing module. That
17 way, people that elect not to install that dependency will only be deprived
18 of your code, not of the existing module.