def make_module_req_guess(self):
        """Customized dictionary of paths to look for with PERL*LIB."""
        majver = get_major_perl_version()
        sitearchsuffix = get_site_suffix("sitearch")
        sitelibsuffix = get_site_suffix("sitelib")

        guesses = super(PerlModule, self).make_module_req_guess()
        guesses.update({"PERL%sLIB" % majver: ["", sitearchsuffix, sitelibsuffix]})
        return guesses
Exemplo n.º 2
0
    def make_module_req_guess(self):
        """Customized dictionary of paths to look for with PERL*LIB."""
        majver = get_major_perl_version()
        sitearchsuffix = get_site_suffix('sitearch')
        sitelibsuffix = get_site_suffix('sitelib')

        guesses = super(PerlModule, self).make_module_req_guess()
        guesses.update({
            "PERL%sLIB" % majver: ['', sitearchsuffix, sitelibsuffix],
        })
        return guesses
Exemplo n.º 3
0
    def make_module_req_guess(self):
        """Custom guesses for path-like environment variables for RepeatModelerConfig."""
        guesses = super(EB_RepeatModeler, self).make_module_req_guess()

        guesses.update({
            'PATH': [''],
            'PERL5LIB': [get_site_suffix('sitelib')],
        })

        return guesses