From b33620ce9f196084c9b27e8ec6983e108e58a9cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Schj=C3=B8nhaug?= Date: Tue, 19 Jul 2022 13:01:02 +0200 Subject: [PATCH] Added install requirements and packages=[] In version 61 of setuptools, there is a [breaking change](https://setuptools.pypa.io/en/latest/history.html#v61-0-0) that introduced auto discovery for packages if no `packages` or `py_modules` is explicitly specified. To make the command `pip install --editable .` work, I had to add `packages=[],` and list all the packages used under `install_requirements`. --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7aa7222..15df212 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,11 @@ setup( 'aiohttp', 'aiohttp-jinja2', 'ckcc-protocol>=1.3.2', + 'pyyaml', + 'pynacl==1.3.0', + 'pendulum==2.0.3', + 'aiohttp_session', + 'requests[socks]', ], entry_points=''' [console_scripts] @@ -38,5 +43,5 @@ setup( 'Operating System :: Microsoft :: Windows', 'Operating System :: MacOS :: MacOS X', ], + packages=[], ) -