From 77b4d3f8361f0cf64ffe046bf71e30eb4126dc91 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 3 Mar 2024 23:26:23 +0100 Subject: [PATCH] Move extras_require to setup.cfg (#601) * Move extras_require to setup.cfg * Move install_requires to setup.cfg --- setup.cfg | 10 ++++++++++ setup.py | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/setup.cfg b/setup.cfg index 3dc9df1a..257077f3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,6 +34,16 @@ packages = console_scripts = bimmerconnected = bimmer_connected.cli:main +[options] +install_requires = + httpx + pycryptodome>=3.4 + pyjwt>=2.1.0 + +[options.extras_require] +china = + Pillow + [options.package_data] bimmer_connected = py.typed diff --git a/setup.py b/setup.py index 941acadf..481f0982 100644 --- a/setup.py +++ b/setup.py @@ -4,14 +4,4 @@ setup( setup_requires=["pbr"], pbr=True, - install_requires=[ - "httpx", - "pycryptodome>=3.4", - "pyjwt>=2.1.0", - ], - extras_require={ - "china": [ - "Pillow", - ], - }, )