fix typos

This commit is contained in:
deltragon 2024-08-26 15:52:32 +02:00
parent bf4a04a378
commit 38b80b2ae9
2 changed files with 6 additions and 7 deletions

View File

@ -201,7 +201,7 @@ To ensure the new strings are well-formed, you can use `python validate_po.py --
2. Run `python3 -m safeeyes` to make sure nothing is broken
3. Update the Safe Eyes version in the following places (Open the project in VSCode and search for the current version):
- [pyproject.toml](https://github.com/slgobinath/SafeEyes/blob/master/pyproject.toml#L4)
- [pyproject.toml](https://github.com/slgobinath/SafeEyes/blob/master/pyproject.toml#L36)
- [pyproject.toml](https://github.com/slgobinath/SafeEyes/blob/master/pyproject.toml#L35)
- [io.github.slgobinath.SafeEyes.metainfo.xml](https://github.com/slgobinath/SafeEyes/blob/master/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml#L56)
- [about_dialog.glade](https://github.com/slgobinath/SafeEyes/blob/master/safeeyes/glade/about_dialog.glade#L74)
4. Update the [changelog](https://github.com/slgobinath/SafeEyes/blob/master/debian/changelog) (for Ubuntu PPA release)

View File

@ -4,13 +4,13 @@ import os
from pathlib import Path
from setuptools import Command, setup
from setuptools.command.build import build as orig_build
from setuptools.command.build import build as OriginalBuildCommand
class build(orig_build):
sub_commands = [('build_mo', None), *orig_build.sub_commands]
class BuildCommand(OriginalBuildCommand):
sub_commands = [('build_mo', None), *OriginalBuildCommand.sub_commands]
class build_mo(Command):
class BuildMoSubCommand(Command):
description = 'Compile .po files into .mo files'
files = None
@ -22,7 +22,6 @@ class build_mo(Command):
def finalize_options(self):
self.set_undefined_options("build_py", ("build_lib", "build_lib"))
pass
def run(self):
files = self._get_files()
@ -72,5 +71,5 @@ class build_mo(Command):
setup(
cmdclass={'build': build, 'build_mo': build_mo}
cmdclass={'build': BuildCommand, 'build_mo': BuildMoSubCommand}
)