diff --git a/pyproject.toml b/pyproject.toml index 3f891cd..4c33fb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,39 +1,5 @@ [build-system] -requires = ["setuptools>=60", "setuptools_scm[toml]>=8.0"] -build-backend = "setuptools.build_meta" - -[project] -name = "kytea" -description = "A text analysis toolkit KyTea Python wrapper" -authors = [ - {name = "Aki Ariga", email = "chezou@gmail.com"} -] -maintainers = [ - {name ="Aki Ariga", email = "chezou@gmail.com"} -] -readme = "README.md" -license = {file = "LICENSE"} -classifiers = [ - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - "Topic :: Text Processing :: Linguistic", -] -keywords = [ - "KyTea", - "NLP", - "Japanese morphological analyzer", -] -requires-python = ">=3.8" -dynamic = ["version"] - -[project.urls] -"Homepage" = "https://github.com/chezou/Mykytea-python" -"Bug Reports" = "https://github.com/chezou/Mykytea-python/issues" -"Funding" = "https://github.com/sponsors/chezou" - +requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"] +# pyproject.toml [tool.setuptools_scm] write_to = "lib/kytea/_version.py" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..fcf3f88 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,22 @@ +[metadata] +name = kytea +description = A text analysis toolkit KyTea binding +long_description = file: README.metadata +long_description_content_type = text/markdown; charset=UTF-8 +url = https://github.com/chezou/Mykytea-python +author = Aki Ariga +author_email = chezou@gmail.com +license = MIT license +license_file = LICENSE +classifiers = + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 + License :: OSI Approved :: MIT License + Topic :: Text Processing :: Linguistic +project_urls = + Source = https://github.com/chezou/Mykytea-python + Tracker = https://github.com/chezou/Mykytea-python/issues +keywords = KyTea, NLP, Japanese morphological analyzer