From a492f97962e6b72f18c528f66da95a0047d1ab20 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 5 Feb 2026 08:39:58 +0000 Subject: [PATCH] Initial upload: Auto README Generator CLI v0.1.0 --- pyproject.toml | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..0fee68f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,82 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "auto-readme-cli" +version = "0.1.0" +description = "A CLI tool that automatically generates comprehensive README.md files by analyzing project structure" +readme = "README.md" +requires-python = ">=3.9" +license = {text = "MIT"} +authors = [ + {name = "Auto README Team", email = "team@autoreadme.dev"} +] +keywords = ["cli", "documentation", "readme", "generator", "markdown"] +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", +] + +dependencies = [ + "click>=8.0.0", + "tree-sitter>=0.23.0", + "jinja2>=3.1.0", + "tomli>=2.0.0; python_version<'3.11'", + "requests>=2.31.0", + "rich>=13.0.0", + "pyyaml>=6.0.0", + "gitpython>=3.1.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", + "black>=23.0.0", + "isort>=5.12.0", + "flake8>=6.0.0", + "pre-commit>=3.0.0", +] + +[project.scripts] +auto-readme = "auto_readme.cli:main" + +[tool.setuptools.packages.find] +where = ["src"] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_classes = ["Test*"] +python_functions = ["test_*"] +addopts = "-v --tb=short" + +[tool.coverage.run] +source = ["src/auto_readme"] +omit = ["*/tests/*", "*/__pycache__/*"] + +[tool.coverage.report] +exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"] + +[tool.black] +line-length = 100 +target-version = ["py39", "py310", "py311", "py312"] +include = "\\.pyi?$" + +[tool.isort] +profile = "black" +line_length = 100 +skip = [".venv", "venv"] + +[tool.flake8] +max-line-length = 100 +exclude = [".venv", "venv", "build", "dist"] +per-file-ignores = ["__init__.py: F401"] \ No newline at end of file