diff options
-rw-r--r-- | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ +import sys from setuptools import setup, find_packages +if sys.version_info.major < 3: + raise RuntimeError('Installing requires Python 3 or newer') + setup( name="prometheus-pgbouncer-exporter", packages=find_packages(), |