diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..83e1091 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,57 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "shell-speak" +version = "0.1.0" +description = "A CLI tool that converts natural language descriptions into shell commands" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.10" +authors = [ + {name = "Shell Speak Contributors"} +] +keywords = ["cli", "shell", "docker", "kubectl", "git", "unix", "natural-language"] +classifiers = [ + "Development Status :: 4 - Beta", + "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 = [ + "typer>=0.9.0", + "rich>=13.0.0", + "shellingham>=1.5.0", + "prompt-toolkit>=3.0.0", + "pyyaml>=6.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", +] + +[project.scripts] +shell-speak = "shell_speak.main:main" + +[tool.setuptools.packages.find] +where = ["."] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +addopts = "-v --tb=short" + +[tool.ruff] +line-length = 100 +target-version = "py310" + +[tool.ruff.lint] +select = ["E", "F", "W", "C90", "I", "N", "UP"] +ignore = ["E501"]