From e6689fb1cf81a3882ba3527488472f9f56a87c17 Mon Sep 17 00:00:00 2001 From: Tsche Date: Mon, 31 Jul 2023 06:21:59 +0200 Subject: [PATCH] make integration and template dependencies optional --- requirements.txt | 8 ++++---- setup.cfg | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index ce4d509..1f2649d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -toml~=0.10.2 -jinja2~=3.1.2 -click~=8.1.6 colorama~=0.4.6 +click~=8.1.6 pydantic~=2.1.1 -pathspec~=0.11.1 \ No newline at end of file +pathspec~=0.11.1 + +toml~=0.10.2; python_version<"3.11" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index f76fc75..c3b3fe3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,6 +28,11 @@ python_requires = >=3.10 include_package_data = True install_requires = file: requirements.txt +[options.extras_require] +testing = file: requirements_dev.txt +conan = conan~=2.0.9 +jinja2 = jinja2~=3.1.2 + [options.entry_points] console_scripts = palgen = palgen:main @@ -40,8 +45,5 @@ where=src py.typed **/integrations/cmake/*.cmake -[options.extras_require] -testing = file: requirements_dev.txt - [flake8] extend-ignore = D1, D2, E1, E2, E3, E501, W1, W2, W3, W5