Skip to content

Commit

Permalink
Fail installation for python 3.0, 3.1 and 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Jun 5, 2016
1 parent a8a49a5 commit c3d3bb5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@
from setuptools import setup, find_packages


# These python versions of explicitly not supported
# by sure. This is nostly because of the incompatiblities
# with unicode strings. If there is an urgent reason why
# to support it after all or if you have a quick fix
# please open an issue on GitHub.
EXPL_NOT_SUPPORTED_VERSIONS = ((3, 0), (3, 1), (3, 2))

if sys.version_info[0:2] in EXPL_NOT_SUPPORTED_VERSIONS:
raise SystemExit("sure does explicitly not support the following python versions "
"due to big incompatibilities: {0}".format(EXPL_NOT_SUPPORTED_VERSIONS))


PROJECT_ROOT = os.path.dirname(__file__)


Expand Down

0 comments on commit c3d3bb5

Please sign in to comment.