diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..78bab5d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,46 @@ +[project] +name = "http-convert" +version = "0.1.0" +description = "A CLI tool that converts HTTP requests between different formats" +readme = "README.md" +requires-python = ">=3.9" +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.0.0", + "rich>=13.0.0", + "pydantic>=2.0.0", + "pyyaml>=6.0", + "fastapi>=0.100.0", + "uvicorn>=0.23.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", +] + +[project.scripts] +http-convert = "http_convert.cli:main" + +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] + +[tool.setuptools.packages.find] +where = ["."] +include = ["http_convert*"]