Skip to content

Commit

Permalink
Use pyproject.toml as much as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
chezou committed Jan 13, 2024
1 parent 98e65ad commit 9e96be8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 24 deletions.
38 changes: 36 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
# pyproject.toml
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 = "[email protected]"}
]
maintainers = [
{name ="Aki Ariga", email = "[email protected]"}
]
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"

[tool.setuptools_scm]
write_to = "lib/kytea/_version.py"
22 changes: 0 additions & 22 deletions setup.cfg

This file was deleted.

0 comments on commit 9e96be8

Please sign in to comment.