diff --git a/.pyproject.toml b/.pyproject.toml new file mode 100644 index 0000000..036d565 --- /dev/null +++ b/.pyproject.toml @@ -0,0 +1,50 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "termflow" +version = "0.1.0" +description = "A CLI tool that records terminal sessions and generates ASCII flowcharts/visualizations" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.9" +authors = [ + {name = "Term Flow Team"} +] +keywords = ["cli", "terminal", "visualization", "flowchart", "git", "recorder"] +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.0", + "graphviz>=0.20.0", + "plumbum>=1.8.0", + "rich>=13.0.0", + "python-dateutil>=2.8.2", + "pyyaml>=6.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", +] + +[project.scripts] +termflow = "termflow.__main__:cli" + +[tool.setuptools.packages.find] +where = ["."] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"]