diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..79d83f9 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,54 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "termdiagram" +version = "0.1.0" +description = "A CLI tool for generating architecture diagrams from codebases" +readme = "README.md" +requires-python = ">=3.10" +license = {text = "MIT"} +authors = [ + {name = "TermDiagram Contributors"} +] +keywords = ["cli", "diagram", "architecture", "visualization", "terminal"] +classifiers = [ + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +dependencies = [ + "click>=8.0", + "rich>=13.0", + "tree-sitter-languages>=1.0", + "gitpython>=3.0", + "rapidfuzz>=3.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "pytest-cov>=4.0", + "ruff>=0.1.0", + "mypy>=1.7.0", + "pre-commit>=3.0", +] + +[project.scripts] +termdiagram = "termdiagram.cli:main" + +[tool.ruff] +target-version = "py310" + +[tool.ruff.lint] +select = ["E", "F", "I", "UP", "W"] +ignore = [] + +[tool.mypy] +python_version = "3.10" +strict = true