Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

#386 Added version check to prevent installation on Python < 3.3.0 #387

Merged
merged 1 commit into from
Jul 24, 2016

Conversation

ssbarnea
Copy link

Fixing #386 386
Signed-off-by: Sorin Sbarnea sorin.sbarnea@gmail.com

try:
from setuptools import setup, Extension
except ImportError:
# Use distutils.core as a fallback.
# We won't be able to build the Wheel file on Windows.
from distutils.core import setup, Extension

if sys.version_info < (3, 3, 0):
raise RuntimeError("aiohttp requires Python 3.3.0+")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Say "asyncio" instead.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, copy/paste syndrome. I corrected it.

Signed-off-by: Sorin Sbarnea <sorin.sbarnea@gmail.com>
@asvetlov asvetlov merged commit b3cf9cf into python:master Jul 24, 2016
@asvetlov
Copy link

Thanks

ronf pushed a commit to ronf/asyncio that referenced this pull request Aug 31, 2016
…#387)

Signed-off-by: Sorin Sbarnea <sorin.sbarnea@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants