コード例 #1
0
ファイル: dist.py プロジェクト: CKFrantz/deli-press-upload
 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)
コード例 #2
0
ファイル: dist.py プロジェクト: ChibaUnppluged/BandMaker-ogi
 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)
コード例 #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)
コード例 #4
0
ファイル: Dist.py プロジェクト: H1d3r/binary_blobs
 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)