File size: 1,457 Bytes
ae1d809 | 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 | [build-system]
requires = ["setuptools>=66,<71", "wheel", "packaging>=22"]
build-backend = "setuptools.build_meta"
[project]
name = "fastcdm"
dynamic = ["version"]
description = "Fast CDM utilities for LaTeX tokenization, rendering, and matching"
readme = "README.md"
requires-python = ">=3.8"
authors = [{ name = "KevinQiu" }]
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
]
dependencies = [
"numpy>=1.20",
"opencv-python>=4.5",
"selenium>=4",
"webdriver-manager>=4",
"scikit-image",
"gradio",
]
[project.optional-dependencies]
dev = [
"pytest>=7",
"black>=23",
"ruff>=0.1",
"mypy>=1.5",
"twine",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = { attr = "fastcdm.__version__" }
[tool.setuptools.packages.find]
namespaces = true
include = ["fastcdm*"]
[tool.setuptools.package-data]
fastcdm = [
"render/templates/*.html",
"render/templates/lib/*.js",
"render/templates/lib/*.css",
"render/templates/lib/katex_fonts/*",
"tokenize_latex/*.js",
"tokenize_latex/third_party/**/*.js",
"tokenize_latex/third_party/**/*.css",
"tokenize_latex/third_party/**/*.html",
"tokenize_latex/third_party/**/*.ttf",
"tokenize_latex/third_party/**/*.woff",
"tokenize_latex/third_party/**/*.woff2",
]
|