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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
[project]
name = "pytokens"
version = "0.4.0"
description = "A Fast, spec compliant Python 3.14+ tokenizer that runs on older Pythons."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.8"
authors = [{ name = "Tushar Sadhwani", email = "tushar.sadhwani000@gmail.com" }]
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed",
]
urls = { Homepage = "https://github.com/tusharsadhwani/pytokens" }
[project.optional-dependencies]
dev = [
"black",
"build",
"mypy",
"pytest",
"pytest-cov",
"setuptools",
"tox",
"twine",
"wheel",
]
[build-system]
requires = ["setuptools>=69", "wheel", "mypy"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
license-files = ["LICENSE"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
addopts = "--cov --cov-report=term-missing"
[tool.mypy]
strict = true
exclude = "setup.py|venv|build"
[tool.cibuildwheel]
build-frontend = "build"
linux.manylinux-x86_64-image = "manylinux_2_28"
linux.manylinux-aarch64-image = "manylinux_2_28"
linux.musllinux-x86_64-image = "musllinux_1_2"
linux.musllinux-aarch64-image = "musllinux_1_2"
enable = []
skip = ["cp313t-*", "*-win32", "*-musllinux_aarch64"]
[tool.cibuildwheel.environment]
MYPYC_OPT_LEVEL = "3"
MYPYC_DEBUG_LEVEL = "0"
|