1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sentencepiece"
version = "0.2.1"
authors = [
{ name="Taku Kudo", email="taku@google.com" },
]
description = "Unsupervised text tokenizer and detokenizer."
readme = "README.md"
requires-python = ">=3.9"
urls = { "Homepage" = "https://github.com/google/sentencepiece" }
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Free Threading :: 2 - Beta",
"Topic :: Text Processing :: Linguistic",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
test = ["pytest"]
testpaths = ["test"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
sentencepiece = ["*.bin"]
[tool.cibuildwheel]
test-requires = ["pytest"]
test-command = "pytest -v {project}/test"
|