Skip to content

Commit

Permalink
Move dependency specs from pyproject.toml to setup.py.
Browse files Browse the repository at this point in the history
This is purely because Renovate currently does not support `pyproject.toml` as a Python dependency manager: renovatebot/renovate#10187
  • Loading branch information
nuztalgia committed Jul 10, 2022
1 parent 7add85d commit 59b8e6d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
13 changes: 0 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@ classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"aiohttp == 3.8.1",
"humanize == 4.2.3",
"pillow == 9.2.0",
"py-cord == 2.0.0",
]

[project.optional-dependencies]
dev = [
"black == 22.6.0",
"isort == 5.10.1",
"pre-commit == 2.19.0",
]

[project.scripts]
qibot = "qibot.bot:main"
Expand Down
16 changes: 15 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
from setuptools import setup

setup()
setup(
install_requires=[
"aiohttp == 3.8.1",
"humanize == 4.2.3",
"pillow == 9.2.0",
"py-cord == 2.0.0",
],
extras_require={
"dev": [
"black == 22.6.0",
"isort == 5.10.1",
"pre-commit == 2.19.0",
],
},
)

0 comments on commit 59b8e6d

Please sign in to comment.