markitdown/packages/markitup/pyproject.toml

87 lines
1.8 KiB
TOML
Raw Normal View History

2024-11-13 21:00:01 +00:00
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
2025-04-21 07:13:19 +00:00
name = "markitup"
2024-11-13 21:00:01 +00:00
dynamic = ["version"]
description = 'Utility tool for converting various files to Markdown'
2024-11-13 21:00:01 +00:00
requires-python = ">=3.10"
license = "MIT"
keywords = []
authors = [
{ name = "Adam Fourney", email = "adamfo@microsoft.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
2024-11-13 21:00:01 +00:00
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"beautifulsoup4",
"requests",
"markdownify",
"magika~=0.6.1",
"charset-normalizer",
2025-04-21 09:37:43 +00:00
"python-magic>=0.4.27",
2024-11-13 21:00:01 +00:00
"python-pptx",
"mammoth",
2024-11-13 21:00:01 +00:00
"pandas",
"xlrd",
"lxml",
"olefile",
"pydub",
2024-11-13 21:00:01 +00:00
"SpeechRecognition",
2025-04-21 12:21:35 +00:00
"pymupdf>=1.25.5",
2024-11-13 21:00:01 +00:00
]
[tool.hatch.version]
2025-04-21 07:13:19 +00:00
path = "src/markitup/__about__.py"
2024-11-13 21:00:01 +00:00
2024-11-14 15:50:21 +00:00
[project.scripts]
2025-04-21 07:13:19 +00:00
markitup = "markitup.__main__:main"
2024-11-14 15:50:21 +00:00
[tool.hatch.envs.default]
2025-04-21 09:37:43 +00:00
# No features needed since everything is installed by default
[tool.hatch.envs.hatch-test]
extra-dependencies = [
"openai",
]
2024-11-13 21:00:01 +00:00
[tool.hatch.envs.types]
extra-dependencies = [
"openai",
2024-11-13 21:00:01 +00:00
"mypy>=1.0.0",
]
2024-11-13 21:00:01 +00:00
[tool.hatch.envs.types.scripts]
2025-04-21 07:13:19 +00:00
check = "mypy --install-types --non-interactive --ignore-missing-imports {args:src/markitup tests}"
2024-11-13 21:00:01 +00:00
[tool.coverage.run]
2025-04-21 07:13:19 +00:00
source_pkgs = ["markitup", "tests"]
2024-11-13 21:00:01 +00:00
branch = true
parallel = true
omit = [
2025-04-21 07:13:19 +00:00
"src/markitup/__about__.py",
2024-11-13 21:00:01 +00:00
]
[tool.coverage.paths]
2025-04-21 07:13:19 +00:00
markitup = ["src/markitup", "*/markitup/src/markitup"]
tests = ["tests", "*/markitup/tests"]
2024-11-13 21:00:01 +00:00
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
2024-12-17 20:13:19 +00:00
[tool.hatch.build.targets.sdist]
2025-04-21 12:21:35 +00:00
only-include = ["src/markitup"]