setup.py
changeset 51700 7f0cb9ee0534
parent 51690 493034cc3265
child 51703 ca7bde5dbafb
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
   461     # when build_py is run next.
   461     # when build_py is run next.
   462     sub_commands = [('build_mo', None)] + build.sub_commands
   462     sub_commands = [('build_mo', None)] + build.sub_commands
   463 
   463 
   464 
   464 
   465 class hgbuildmo(build):
   465 class hgbuildmo(build):
       
   466 
   466     description = "build translations (.mo files)"
   467     description = "build translations (.mo files)"
   467 
   468 
   468     def run(self):
   469     def run(self):
   469         if not find_executable('msgfmt'):
   470         if not find_executable('msgfmt'):
   470             self.warn(
   471             self.warn(
  1053             if self.html:
  1054             if self.html:
  1054                 genhtml(root)
  1055                 genhtml(root)
  1055 
  1056 
  1056 
  1057 
  1057 class hginstall(install):
  1058 class hginstall(install):
       
  1059 
  1058     user_options = install.user_options + [
  1060     user_options = install.user_options + [
  1059         (
  1061         (
  1060             'old-and-unmanageable',
  1062             'old-and-unmanageable',
  1061             None,
  1063             None,
  1062             'noop, present for eggless setuptools compat',
  1064             'noop, present for eggless setuptools compat',