diff options
author | elie <elie> | 2013-09-21 10:10:34 +0000 |
---|---|---|
committer | elie <elie> | 2013-09-21 10:10:34 +0000 |
commit | 83b865fc53f0435a4c5c12a314c416cca1b6b058 (patch) | |
tree | f75377803d4558a0f90817cba2c76a4d7ff13e67 /setup.py | |
parent | 0ee047438ce8aaa947e295a08f3a6c99dfa01701 (diff) | |
download | pysnmp-83b865fc53f0435a4c5c12a314c416cca1b6b058.tar.gz |
Python 2.4+ installation requirement added
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -40,6 +40,10 @@ def howto_install_setuptools(): Then you could make eggs from this package. """) +if sys.version_info[:2] < (2, 4): + print("ERROR: this package requires Python 2.4 or later!") + sys.exit(1) + try: from setuptools import setup params = { |