diff --git a/pyproject.toml b/pyproject.toml index 9787c3b..b997ac6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,44 @@ [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" + +[project] +name = "powrap" +description = "Find and properly reindent .po files." +readme = "README.rst" +authors = [ + { name = "Julien Palard", email = "julien@palard.fr" }, +] +keywords = ["powrap", "po", "gettext", "i18n",] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Natural Language :: English", + "Programming Language :: Python :: 3", +] +requires-python = ">= 3.7" +dependencies = [ + "tqdm", +] +dynamic = [ + "version", +] + +[project.license] +text = "MIT License" + +[project.urls] +Homepage = "https://github.com/AFPy/powrap" + +[project.scripts] +powrap = "powrap.powrap:main" + +[tool.setuptools] +packages = [ + "powrap", +] +include-package-data = false + +[tool.setuptools.dynamic.version] +attr = "powrap.__version__" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 6302308..0000000 --- a/setup.cfg +++ /dev/null @@ -1,25 +0,0 @@ -[metadata] -name = powrap -version = attr: powrap.__version__ -description = Find and properly reindent .po files. -long_description = file: README.rst -author = Julien Palard -author_email = julien@palard.fr -url = https://github.com/AFPy/powrap -keywords = powrap, po, gettext, i18n -license = MIT License -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: MIT License - Natural Language :: English - Programming Language :: Python :: 3 - -[options] -packages = powrap -python_requires = >= 3.6 -install_requires = - tqdm - -[options.entry_points] -console_scripts = powrap=powrap.powrap:main