Commit 5ebacb94 authored by Jim Fulton's avatar Jim Fulton Committed by GitHub

Merge pull request #76 from zopefoundation/fix-75

Exit with failure codes instead of success codes on unsupported Python versions.
parents 43b415ce c9469dde
Changelog Changelog
========= =========
5.0.2 (unreleased)
------------------
- Provide better error messages when pip tries to install ZEO on an
unsupported Python version. See `issue 75 <https://github.com/zopefoundation/ZEO/issues/75>`_.
5.0.1 (2016-09-06) 5.0.1 (2016-09-06)
------------------ ------------------
......
...@@ -19,11 +19,11 @@ import sys ...@@ -19,11 +19,11 @@ import sys
if sys.version_info < (2, 7, 9): if sys.version_info < (2, 7, 9):
print("This version of ZEO requires Python 2.7.9 or higher") print("This version of ZEO requires Python 2.7.9 or higher")
sys.exit(0) sys.exit(1)
if (3, 0) < sys.version_info < (3, 4): if (3, 0) < sys.version_info < (3, 4):
print("This version of ZEO requires Python 3.4 or higher") print("This version of ZEO requires Python 3.4 or higher")
sys.exit(0) sys.exit(1)
install_requires = [ install_requires = [
'ZODB >= 5.0.0a5', 'ZODB >= 5.0.0a5',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment