Add project configuration files
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-01 15:06:08 +00:00
parent 1e2d6988ad
commit 3f0a5e044b

58
pyproject.toml Normal file
View File

@@ -0,0 +1,58 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cron-parser-cli"
version = "0.1.0"
description = "A CLI tool that parses, validates, generates, and explains cron expressions in human-readable language"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
keywords = ["cron", "cli", "parser", "scheduler", "automation"]
authors = [
{name = "Cron Parser CLI Contributors"}
]
dependencies = [
"click>=8.1.7",
"python-crontab>=3.3.0",
"croniter>=6.0.0",
"cron-descriptor>=2.0.6",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
]
[project.scripts]
cronparse = "cronparse.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.coverage.run]
source = ["cronparse"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]