fix typos
This commit is contained in:
parent
bf4a04a378
commit
38b80b2ae9
|
@ -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
|
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):
|
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#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)
|
- [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)
|
- [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)
|
4. Update the [changelog](https://github.com/slgobinath/SafeEyes/blob/master/debian/changelog) (for Ubuntu PPA release)
|
||||||
|
|
11
setup.py
11
setup.py
|
@ -4,13 +4,13 @@ import os
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from setuptools import Command, setup
|
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):
|
class BuildCommand(OriginalBuildCommand):
|
||||||
sub_commands = [('build_mo', None), *orig_build.sub_commands]
|
sub_commands = [('build_mo', None), *OriginalBuildCommand.sub_commands]
|
||||||
|
|
||||||
|
|
||||||
class build_mo(Command):
|
class BuildMoSubCommand(Command):
|
||||||
description = 'Compile .po files into .mo files'
|
description = 'Compile .po files into .mo files'
|
||||||
|
|
||||||
files = None
|
files = None
|
||||||
|
@ -22,7 +22,6 @@ class build_mo(Command):
|
||||||
|
|
||||||
def finalize_options(self):
|
def finalize_options(self):
|
||||||
self.set_undefined_options("build_py", ("build_lib", "build_lib"))
|
self.set_undefined_options("build_py", ("build_lib", "build_lib"))
|
||||||
pass
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
files = self._get_files()
|
files = self._get_files()
|
||||||
|
@ -72,5 +71,5 @@ class build_mo(Command):
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
cmdclass={'build': build, 'build_mo': build_mo}
|
cmdclass={'build': BuildCommand, 'build_mo': BuildMoSubCommand}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue