MOTOR-129 Only install aiohttp integration on Python 3.
This commit is contained in:
parent
88bf7d8e65
commit
3cacb4e12c
3
setup.py
3
setup.py
@ -162,6 +162,9 @@ if sys.version_info[0] >= 3:
|
||||
# causes SyntaxError in Python 2.
|
||||
packages.append('motor.frameworks.asyncio')
|
||||
|
||||
# Install aiohttp integration - aiohttp itself need not be installed.
|
||||
packages.append('motor.aiohttp')
|
||||
|
||||
setup(name='motor',
|
||||
version='1.2.dev0',
|
||||
packages=packages,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user