|
| 1 | +[project] |
| 2 | +# PyPI 上のバージョンは 0.1 のまま据え置く。README 経由の long_description や |
| 3 | +# 依存ゼロという構成は setup.py 時代から変えていないので、公開済みの |
| 4 | +# ndc_parser-0.1-py3-none-any.whl と中身が一致する状態を維持している。 |
| 5 | +name = "ndc-parser" |
| 6 | +version = "0.1" |
| 7 | +description = "NDC Parser" |
| 8 | +readme = "README.md" |
| 9 | +requires-python = ">=3.10" |
| 10 | +license = "MIT" |
| 11 | +license-files = ["LICENSE.txt"] |
| 12 | +authors = [{ name = "CALIL Inc.", email = "info@calil.jp" }] |
| 13 | +keywords = ["NDC", "Nippon Decimal Classification", "Parser"] |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 3 - Alpha", |
| 16 | + "Intended Audience :: Developers", |
| 17 | + "Natural Language :: Japanese", |
| 18 | + "Programming Language :: Python :: 3", |
| 19 | + "Topic :: Text Processing :: Markup", |
| 20 | +] |
| 21 | + |
| 22 | +[project.urls] |
| 23 | +Homepage = "https://github.com/ndc-dev/python-parser" |
| 24 | +Repository = "https://github.com/ndc-dev/python-parser" |
| 25 | + |
| 26 | +[build-system] |
| 27 | +requires = ["hatchling"] |
| 28 | +build-backend = "hatchling.build" |
| 29 | + |
| 30 | +# zips/(NDC の TTL、約1.9MB)と sample.py は配布物に含めない。 |
| 31 | +# sample.py は README から GitHub 上のリンクとして案内している。 |
| 32 | +[tool.hatch.build.targets.wheel] |
| 33 | +packages = ["ndc_parser"] |
| 34 | + |
| 35 | +[tool.hatch.build.targets.sdist] |
| 36 | +include = ["ndc_parser", "README.md", "LICENSE.txt"] |
0 commit comments