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