From e08a750ef72030d620d851d98e5109d77f3a07d0 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 30 Aug 2022 17:21:50 +0200 Subject: [PATCH] Releasing 0.1.3. --- pogrep.py | 2 +- pyproject.toml | 40 +++++++++++++++++++++++++++++++++++++++- setup.cfg | 30 ------------------------------ setup.py | 1 - 4 files changed, 40 insertions(+), 33 deletions(-) delete mode 100644 setup.cfg delete mode 100644 setup.py diff --git a/pogrep.py b/pogrep.py index 58b02e0..e3df280 100644 --- a/pogrep.py +++ b/pogrep.py @@ -1,7 +1,7 @@ """Find translations examples by grepping in .po files. """ -__version__ = "0.1.2" +__version__ = "0.1.3" import argparse import glob diff --git a/pyproject.toml b/pyproject.toml index 9787c3b..ad5b90b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,41 @@ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools>=61.2"] build-backend = "setuptools.build_meta" + +[project] +name = "pogrep" +description = "Find translations examples by grepping in .po files." +authors = [{name = "Julien Palard", email = "julien@palard.fr"}] +license = {text = "MIT License"} +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Natural Language :: English", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", +] +urls = {Homepage = "https://github.com/JulienPalard/pogrep"} +requires-python = ">= 3.6" +dependencies = [ + "regex", + "polib", + "tabulate", +] +dynamic = ["version"] + +[project.readme] +file = "README.md" +content-type = "text/markdown; charset=UTF-8" + +[project.scripts] +pogrep = "pogrep:main" + +[tool.setuptools] +py-modules = ["pogrep"] +include-package-data = false + +[tool.setuptools.dynamic.version] +attr = "pogrep.__version__" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 838bdd2..0000000 --- a/setup.cfg +++ /dev/null @@ -1,30 +0,0 @@ -[metadata] -name = pogrep -version = 0.1.2 -description = Find translations examples by grepping in .po files. -long_description = file: README.md -long_description_content_type = text/markdown; charset=UTF-8 -author = Julien Palard -author_email = julien@palard.fr -url = https://github.com/JulienPalard/pogrep -license = MIT License -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: MIT License - Natural Language :: English - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - -[options] -py_modules = pogrep -python_requires = >= 3.6 -install_requires = - regex - polib - tabulate - -[options.entry_points] -console_scripts = pogrep=pogrep:main diff --git a/setup.py b/setup.py deleted file mode 100644 index aefdf20..0000000 --- a/setup.py +++ /dev/null @@ -1 +0,0 @@ -__import__("setuptools").setup()