diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b1de1bd --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,49 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "shell-history-alias-generator" +version = "0.1.0" +description = "A CLI tool that analyzes terminal command history to discover frequently used long commands and generates shell aliases" +readme = "README.md" +requires-python = ">=3.8" +license = {text = "MIT"} +authors = [ + {name = "Shell Alias Generator", email = "dev@example.com"} +] +keywords = ["cli", "shell", "alias", "terminal", "history"] +classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12" +] +dependencies = [ + "click>=8.1.7", + "rich>=13.7.0" +] + +[project.scripts] +shell-alias-gen = "shell_alias_gen.cli:main" + +[project.optional-dependencies] +dev = [ + "pytest>=7.4.0", + "pytest-cov>=4.1.0" +] + +[tool.setuptools.packages.find] +where = ["."] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +addopts = "-v --tb=short"