Mercurial > hg
comparison setup.py @ 51690:493034cc3265
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | bf1d26bd5b6a |
children | 7f0cb9ee0534 |
comparison
equal
deleted
inserted
replaced
51689:39e2b2d062c1 | 51690:493034cc3265 |
---|---|
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', |