-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Motor currently builds universal wheels. This is a problem because setup.py contains code that depends on the current python version:
if sys.version_info[0] < 3: install_requires.append('futures') ... if sys.version_info[0] >= 3: # Trying to install and byte-compile motor/frameworks/asyncio/__init__.py # causes SyntaxError in Python 2. packages.append('motor.frameworks.asyncio') # Install aiohttp integration - aiohttp itself need not be installed. packages.append('motor.aiohttp')
We should remove the universal setup.cfg file and build two wheels; one for Python 3 and one for Python 2. This will avoid a regression on MOTOR-99.
- related to
-
MOTOR-99 Unclean import of Motor 0.5.0 from buildout on 2.7
- Closed