From ea08b6be47ac0cce86dca843434416fa90145c4d Mon Sep 17 00:00:00 2001 From: Christoph Souris Date: Fri, 11 Oct 2024 07:42:05 +0200 Subject: [PATCH] Modern dependencies declaration. --- pyproject.toml | 12 +++++++++++- requirements.txt | 4 ++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 47210f7..eb5a4ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,16 @@ classifiers = [ "Operating System :: OS Independent", "Topic :: Software Development :: Libraries :: Python Modules", ] +dependencies = [ + "cachetools", + "Deprecated", + "inputimeout", + "PyJWT", + "python-dateutil", + "PyYAML", + "requests", + "websockets", +] [project.urls] Homepage = "https://github.com/SoftwareAG/cumulocity-python-api" @@ -28,4 +38,4 @@ Issues = "https://github.com/SoftwareAG/cumulocity-python-api/issues" Documentation = "https://cumulocity-python-api.readthedocs.io/en/latest/" [tool.hatch.version] -source = "vcs" \ No newline at end of file +source = "vcs" diff --git a/requirements.txt b/requirements.txt index 9f28659..2ca6d77 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ +# Note: these are the development requirements for use with pip +# the libraries dependencies are defined in pyproject.toml python-dateutil PyYAML requests @@ -5,8 +7,6 @@ Deprecated pytest responses python-dotenv -setuptools -setuptools_scm invoke pylint PyJWT