diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..71e0ac7 --- /dev/null +++ b/pyproject.toml @@ -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"]