From d7aa18beed456fcda35fa12678fcd6ab97e52c30 Mon Sep 17 00:00:00 2001 From: Bryan Forbes Date: Fri, 7 Aug 2020 00:11:20 -0500 Subject: [PATCH] Extend __path__ with pkgutil to allow editable extensions --- discord/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/__init__.py b/discord/__init__.py index 628b74b68..b56de7a40 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -17,6 +17,8 @@ __license__ = 'MIT' __copyright__ = 'Copyright 2015-2020 Rapptz' __version__ = '1.4.0' +__path__ = __import__('pkgutil').extend_path(__path__, __name__) + from collections import namedtuple import logging