wiki:docs_module_depend

Version 4 (modified by ehb, 3 months ago) (diff)

--

defining module dependencies

  • module executable dependencies list dependency info
  • this section is used for installers
  • the JSON to include at the top level of the module definition file lists tags and their values
  • the tags can be:
tag value example description
base string "base":"perl" the primary language used - if applicable
cpan string or list of strings "cpan" : [ "JSON", "MIME::Base64" ] CPAN modules to install
pip string or list of strings "pip" : "numpy scipy matplotlib" Python PIP packages to install
cmd string or list of strings "cmd" : "git clone https://github.com/ehb54/jspdb.git" command to be run
cmd-os string or list of strings "cmd-ubuntu" : "apt install someapt" os specific command to be run
cmd-os-version string or list of strings "cmd-ubuntu-16" : "apt install someapt" os-version specific command to be run
file string or list of strings "file" : [ "my-dependency-1", "my-dependency-2" ] extra files needed