diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b2f8598 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,63 @@ +[project] +name = "project-context-generator" +version = "0.1.0" +description = "A CLI tool that analyzes codebases and generates comprehensive context files for AI coding assistants" +readme = "README.md" +requires-python = ">=3.9" +license = {text = "MIT"} +authors = [ + {name = "Project Context Generator Contributors"} +] +keywords = ["cli", "code-analysis", "ai", "context", "documentation"] +classifiers = [ + "Development Status :: 4 - Beta", + "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", +] + +dependencies = [ + "click>=8.1", + "pyyaml>=6.0", + "jinja2>=3.1", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "pytest-cov>=4.0", + "black>=23.0", + "ruff>=0.1.0", +] + +[project.scripts] +contextgen = "contextgen.cli:main" + +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +norecursedirs = ["fixtures"] + +[tool.coverage.run] +source = ["src/contextgen"] +omit = ["tests/*"] + +[tool.coverage.report] +exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"] + +[tool.black] +line-length = 100 +target-version = ["py39"] + +[tool.ruff] +line-length = 100 +target-version = "py39"