From 717337cd7a0f97561b77543fb0cebb4e7ce7c0b7 Mon Sep 17 00:00:00 2001 From: mc-anssi <35530406+mc-anssi@users.noreply.github.com> Date: Thu, 1 Feb 2018 11:25:40 +0100 Subject: [PATCH] Fix issue #3 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 523c2a3..60e8308 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 """bits_parser""" - +import sys +assert sys.version_info.major == 3, 'Python 3 required' import re -import sys from pathlib import Path from setuptools import setup, find_packages