'Called before Octave modules\' install() methods.
In most cases, extensions will only need to have one line:
octave(\'--eval\', \'pkg install %s\' % self.stage.archive_file)'

def setup_dependent_package(self, module, dependent_spec):

    module.octave = Executable(join_path(self.spec.prefix.bin, 'octave'))
