コード例 #1
0
 def make_module_extra(self):
     """Add install path to PERL*LIB"""
     majver = get_major_perl_version()
     sitearchsuffix = get_sitearch_suffix()
     # also add sitearch dir to Perl search path
     txt = self.moduleGenerator.prepend_paths("PERL%sLIB" % majver,
                                              ['', sitearchsuffix])
     return ExtensionEasyBlock.make_module_extra(self, txt)
コード例 #2
0
 def make_module_extra(self):
     """Add install path to PERL*LIB"""
     majver = self.version.split('.')[0]
     txt = self.moduleGenerator.prepend_paths("PERL%sLIB" % majver, [''])
     return ExtensionEasyBlock.make_module_extra(self, txt)
コード例 #3
0
 def make_module_extra(self):
     """Add install path to PERL*LIB"""
     majver = self.version.split('.')[0]
     txt = self.moduleGenerator.prepend_paths("PERL%sLIB" % majver, [''])
     return ExtensionEasyBlock.make_module_extra(self, txt)