Skip to content

Commit

Permalink
Merge pull request #33 from chezou/revert-32-pyproject
Browse files Browse the repository at this point in the history
Revert "Use pyproject.toml as much as possible"
  • Loading branch information
chezou authored Jan 13, 2024
2 parents 0870c97 + 5f1d301 commit 22e590b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 36 deletions.
38 changes: 2 additions & 36 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[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"

requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
# pyproject.toml
[tool.setuptools_scm]
write_to = "lib/kytea/_version.py"
22 changes: 22 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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 = [email protected]
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

0 comments on commit 22e590b

Please sign in to comment.