29 lines
738 B
TOML
29 lines
738 B
TOML
|
|
[build-system]
|
||
|
|
requires = ["setuptools>=68"]
|
||
|
|
build-backend = "setuptools.build_meta"
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "mdgrep"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "Boolean full-text search (substrings, phrases, regex, AND/OR/NOT, parentheses) over Markdown and other text blocks, with CLI, Flask API and a JavaScript search widget"
|
||
|
|
readme = "README.md"
|
||
|
|
license = "MIT"
|
||
|
|
requires-python = ">=3.10"
|
||
|
|
authors = [{ name = "Dieter Schlüter" }]
|
||
|
|
dependencies = ["regex>=2023.0"]
|
||
|
|
|
||
|
|
[project.optional-dependencies]
|
||
|
|
web = ["flask>=2.3"]
|
||
|
|
dev = ["pytest>=7", "flask>=2.3"]
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
mdgrep = "mdgrep.cli:main"
|
||
|
|
|
||
|
|
[tool.setuptools.packages.find]
|
||
|
|
where = ["src"]
|
||
|
|
|
||
|
|
[tool.setuptools.package-data]
|
||
|
|
mdgrep = ["static/*"]
|
||
|
|
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
testpaths = ["tests"]
|