MOTOR-129 Only install aiohttp integration on Python 3.

This commit is contained in:
A. Jesse Jiryu Davis 2017-01-07 15:17:38 -05:00
parent 88bf7d8e65
commit 3cacb4e12c
2 changed files with 3 additions and 0 deletions

View File

@ -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,