From ba6b86e471ed59b34af5c6bb4cc79d3fa5bae5a7 Mon Sep 17 00:00:00 2001 From: Alexander Verbitsky Date: Wed, 27 Mar 2024 10:36:50 +0100 Subject: [PATCH] fix: add dependencies in pyproject.toml --- pyproject.toml | 4 ++++ setup.cfg | 13 ++++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 399ee3e..2ca6490 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,10 @@ classifiers = [ ] requires-python = ">=3.6" +dynamic = ["dependencies"] +[tool.setuptools.dynamic] +dependencies = {file = ["requirements.txt"]} + [project.urls] "Home" = "https://github.com/casdoor/casdoor-python-sdk" diff --git a/setup.cfg b/setup.cfg index 67d8e42..0a5b927 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,7 +10,7 @@ long_description_content_type = text/markdown license = Apache 2.0 platform = any keywords = Casdoor -classifiers = +classifiers = Intended Audience :: Developers License :: OSI Approved :: Apache Software License Operating System :: OS Independent @@ -23,17 +23,12 @@ classifiers = Programming Language :: Python :: 3.11 [options] -package_dir = +package_dir = =src -packages = +packages = casdoor -setup_requires = +setup_requires = setuptools -install_requires = - requests - pyjwt - cryptography - aiohttp python_requires = >=3.6 test_suite = tests