Skip to content

Commit ba6b86e

Browse files
committed
fix: add dependencies in pyproject.toml
1 parent 275f78b commit ba6b86e

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ classifiers = [
2020
]
2121
requires-python = ">=3.6"
2222

23+
dynamic = ["dependencies"]
24+
[tool.setuptools.dynamic]
25+
dependencies = {file = ["requirements.txt"]}
26+
2327
[project.urls]
2428
"Home" = "https://github.com/casdoor/casdoor-python-sdk"
2529

setup.cfg

+4-9
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ long_description_content_type = text/markdown
1010
license = Apache 2.0
1111
platform = any
1212
keywords = Casdoor
13-
classifiers =
13+
classifiers =
1414
Intended Audience :: Developers
1515
License :: OSI Approved :: Apache Software License
1616
Operating System :: OS Independent
@@ -23,17 +23,12 @@ classifiers =
2323
Programming Language :: Python :: 3.11
2424

2525
[options]
26-
package_dir =
26+
package_dir =
2727
=src
28-
packages =
28+
packages =
2929
casdoor
30-
setup_requires =
30+
setup_requires =
3131
setuptools
32-
install_requires =
33-
requests
34-
pyjwt
35-
cryptography
36-
aiohttp
3732
python_requires = >=3.6
3833
test_suite = tests
3934

0 commit comments

Comments
 (0)