setup.py
changeset 51699 ca7bde5dbafb
parent 51696 7f0cb9ee0534
child 51751 9b8c71d0b785
equal deleted inserted replaced
51698:b0a4de6c14f8 51699:ca7bde5dbafb
   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 
       
   467     description = "build translations (.mo files)"
   466     description = "build translations (.mo files)"
   468 
   467 
   469     def run(self):
   468     def run(self):
   470         if not find_executable('msgfmt'):
   469         if not find_executable('msgfmt'):
   471             self.warn(
   470             self.warn(
  1054             if self.html:
  1053             if self.html:
  1055                 genhtml(root)
  1054                 genhtml(root)
  1056 
  1055 
  1057 
  1056 
  1058 class hginstall(install):
  1057 class hginstall(install):
  1059 
       
  1060     user_options = install.user_options + [
  1058     user_options = install.user_options + [
  1061         (
  1059         (
  1062             'old-and-unmanageable',
  1060             'old-and-unmanageable',
  1063             None,
  1061             None,
  1064             'noop, present for eggless setuptools compat',
  1062             'noop, present for eggless setuptools compat',