Skip to content

Commit 59b8e6d

Browse files
committed
Move dependency specs from pyproject.toml to setup.py.
This is purely because Renovate currently does not support `pyproject.toml` as a Python dependency manager: renovatebot/renovate#10187
1 parent 7add85d commit 59b8e6d

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

pyproject.toml

-13
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,6 @@ classifiers = [
1717
"Programming Language :: Python :: 3",
1818
"Programming Language :: Python :: 3.10",
1919
]
20-
dependencies = [
21-
"aiohttp == 3.8.1",
22-
"humanize == 4.2.3",
23-
"pillow == 9.2.0",
24-
"py-cord == 2.0.0",
25-
]
26-
27-
[project.optional-dependencies]
28-
dev = [
29-
"black == 22.6.0",
30-
"isort == 5.10.1",
31-
"pre-commit == 2.19.0",
32-
]
3320

3421
[project.scripts]
3522
qibot = "qibot.bot:main"

setup.py

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
from setuptools import setup
22

3-
setup()
3+
setup(
4+
install_requires=[
5+
"aiohttp == 3.8.1",
6+
"humanize == 4.2.3",
7+
"pillow == 9.2.0",
8+
"py-cord == 2.0.0",
9+
],
10+
extras_require={
11+
"dev": [
12+
"black == 22.6.0",
13+
"isort == 5.10.1",
14+
"pre-commit == 2.19.0",
15+
],
16+
},
17+
)

0 commit comments

Comments
 (0)