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", - ], - }, )