Don't automatically install uvloop. Let people do that

People are reporting uvloop would crash with weird core-dumped errors
when using other asyncio libs, such as aiohttp. Plus, this was a bad
idea and people should install uvloop themselves before running their
codes.
This commit is contained in:
Dan 2019-07-15 00:54:35 +02:00
parent 9940dd678f
commit 4d324abbb5

View File

@ -28,13 +28,6 @@ __version__ = "0.16.0.asyncio-dev"
__license__ = "GNU Lesser General Public License v3 or later (LGPLv3+)"
__copyright__ = "Copyright (C) 2017-2019 Dan <https://github.com/delivrance>"
try:
import uvloop
except ImportError:
pass
else:
uvloop.install()
from .errors import RPCError
from .client import *
from .client.handlers import *