diff --git a/pyproject.toml b/pyproject.toml index a853c57..0217c3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,69 @@ [build-system] -requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"] +requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"] build-backend = "setuptools.build_meta" +[project] +name = "inflect" +authors = [ + { name = "Paul Dyson", email = "pwdyson@yahoo.com" }, +] +maintainers = [ + { name = "Jason R. Coombs", email = "jaraco@jaraco.com" }, +] +description = "Correctly generate plurals, singular nouns, ordinals, indefinite articles" # convert numbers to words +readme = "README.rst" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Natural Language :: English", + "Operating System :: OS Independent", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Text Processing :: Linguistic", +] +requires-python = ">=3.8" +dependencies = [ + "more_itertools", + "typeguard >= 4.0.1", + "typing_extensions", +] +keywords = [ + "plural", + "inflect", + "participle", +] +dynamic = ["version"] + +[project.urls] +Homepage = "https://github.com/jaraco/inflect" + +[project.optional-dependencies] +testing = [ + # upstream + "pytest >= 6", + "pytest-checkdocs >= 2.4", + "pytest-cov", + "pytest-mypy", + "pytest-enabler >= 2.2", + "pytest-ruff >= 0.2.1", + + # local + "pygments", +] +docs = [ + # upstream + "sphinx >= 3.5", + "jaraco.packaging >= 9.3", + "rst.linker >= 1.9", + "furo", + "sphinx-lint", + + # tidelift + "jaraco.tidelift >= 1.4", + + # local +] + [tool.setuptools_scm] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 0d25a08..0000000 --- a/setup.cfg +++ /dev/null @@ -1,56 +0,0 @@ -[metadata] -name = inflect -author = Paul Dyson -author_email = pwdyson@yahoo.com -maintainer=Jason R. Coombs -maintainer_email=jaraco@jaraco.com -description = Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words -long_description = file:README.rst -url = https://github.com/jaraco/inflect -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: MIT License - Programming Language :: Python :: 3 - Programming Language :: Python :: 3 :: Only - Natural Language :: English - Operating System :: OS Independent - Topic :: Software Development :: Libraries :: Python Modules - Topic :: Text Processing :: Linguistic - -[options] -include_package_data = true -python_requires = >=3.8 -install_requires = - more_itertools - typeguard >= 4.0.1 - typing_extensions -keywords = plural inflect participle - -[options.extras_require] -testing = - # upstream - pytest >= 6 - pytest-checkdocs >= 2.4 - pytest-cov - pytest-mypy - pytest-enabler >= 2.2 - pytest-ruff >= 0.2.1 - - # local - pygments - -docs = - # upstream - sphinx >= 3.5 - jaraco.packaging >= 9.3 - rst.linker >= 1.9 - furo - sphinx-lint - - # tidelift - jaraco.tidelift >= 1.4 - - # local - -[options.entry_points]