Exemple #1
0
 def get_command_list(self):
     for ep in pkg_resources.iter_entry_points("distutils.commands"):
         if ep.name not in self.cmdclass:
             # don't require extras as the commands won't be invoked
             cmdclass = ep.resolve()
             self.cmdclass[ep.name] = cmdclass
     return _Distribution.get_command_list(self)
Exemple #2
0
 def get_command_list(self):
     for ep in pkg_resources.iter_entry_points('distutils.commands'):
         if ep.name not in self.cmdclass:
             # don't require extras as the commands won't be invoked
             cmdclass = ep.resolve()
             self.cmdclass[ep.name] = cmdclass
     return _Distribution.get_command_list(self)
Exemple #3
0
 def get_command_list(self):
     """
     Overridden to add the commands defined by 'command_mapping' to the
     list of (command, description) tuples.
     """
     for command in self.command_mapping:
         self.get_command_class(command)
     return Distribution.get_command_list(self)
Exemple #4
0
 def get_command_list(self):
     """
     Overridden to add the commands defined by 'command_mapping' to the
     list of (command, description) tuples.
     """
     for command in self.command_mapping:
         self.get_command_class(command)
     return Distribution.get_command_list(self)