Skip to content

Commit

Permalink
Merge pull request #15 from claws/add_version_checking
Browse files Browse the repository at this point in the history
Add libzmq version checking to installer
  • Loading branch information
michelp committed Dec 17, 2013
2 parents 742118b + 33b2465 commit 7e4a5dd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
pyczmq
======
"""
from pyczmq.zmq import version as zmq_version
from setuptools import setup, find_packages
import sys


if zmq_version() < (4,0,0):
print "ERROR: pyczmq requires libzmq 4.0.0 or later."
sys.exit(1)


setup(
name="pyczmq",
Expand Down

0 comments on commit 7e4a5dd

Please sign in to comment.