Skip to content

Commit

Permalink
Remove i18n support. (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
mblayman committed Dec 29, 2021
1 parent 821b389 commit 07ebf38
Show file tree
Hide file tree
Showing 28 changed files with 36 additions and 1,174 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Expand Up @@ -6,3 +6,5 @@ source =
[run]
omit =
tap/tests/*
# This is tested with tox -e module in CI.
tap/__main__.py
4 changes: 0 additions & 4 deletions .gitignore
Expand Up @@ -31,10 +31,6 @@ htmlcov
.cache
.pytest_cache

# Translations
.transifex.ini
*.mo

# Mr Developer
.mr.developer.cfg
.project
Expand Down
1 change: 1 addition & 0 deletions docs/releases.rst
Expand Up @@ -7,6 +7,7 @@ Version 3.1, To Be Released
* Add support for Python 3.8.
* Drop support for Python 3.5 (it is end-of-life).
* Fix parsing of multi-line strings in YAML blocks (#111)
* Remove unmaintained i18n support.

Version 3.0, Released January 10, 2020
--------------------------------------
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
@@ -1,4 +1,3 @@
Babel
black
coverage
flake8
Expand Down
28 changes: 1 addition & 27 deletions setup.py
Expand Up @@ -9,35 +9,10 @@
`Read the Docs <https://tappy.readthedocs.io/>`_.
"""

from setuptools import find_packages, setup, Command
from setuptools import find_packages, setup

import tap


class ReleaseCommand(Command):
description = "generate distribution release artifacts"
user_options = []

def initialize_options(self):
"""Initialize options.
This method overrides a required abstract method.
"""

def finalize_options(self):
"""Finalize options.
This method overrides a required abstract method.
"""

def run(self):
"""Generate the distribution release artifacts.
The custom command is used to ensure that compiling
po to mo is not skipped.
"""
self.run_command("compile_catalog")
self.run_command("sdist")
self.run_command("bdist_wheel")


# The docs import setup.py for the version so only call setup when not behaving
# as a module.
if __name__ == "__main__":
Expand Down Expand Up @@ -78,5 +53,4 @@ def run(self):
"Topic :: Software Development :: Testing",
],
keywords=["TAP", "unittest"],
cmdclass={"release": ReleaseCommand},
)
8 changes: 0 additions & 8 deletions tap/i18n.py

This file was deleted.

94 changes: 0 additions & 94 deletions tap/locale/ar/LC_MESSAGES/tappy.po

This file was deleted.

94 changes: 0 additions & 94 deletions tap/locale/de/LC_MESSAGES/tappy.po

This file was deleted.

94 changes: 0 additions & 94 deletions tap/locale/es/LC_MESSAGES/tappy.po

This file was deleted.

0 comments on commit 07ebf38

Please sign in to comment.