From 59b8e6d7a70d7f6c5d5fef7c0526d0b8fafa4c7b Mon Sep 17 00:00:00 2001 From: Nuz / Lovegood Date: Sun, 10 Jul 2022 13:58:14 -0700 Subject: [PATCH] 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: https://github.com/renovatebot/renovate/issues/10187 --- pyproject.toml | 13 ------------- setup.py | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e9b1fc9..fcf2482 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/setup.py b/setup.py index 6068493..dc87e5d 100644 --- a/setup.py +++ b/setup.py @@ -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", + ], + }, +)