aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 41933cb..783b2ce 100644
--- a/setup.py
+++ b/setup.py
@@ -16,13 +16,12 @@
import sys
-from mesonbuild.coredata import version
-
if sys.version_info < (3, 5, 0):
print('Tried to install with an unsupported version of Python. '
'Meson requires Python 3.5.0 or greater')
sys.exit(1)
+from mesonbuild.coredata import version
from setuptools import setup
# On windows, will create Scripts/meson.exe and Scripts/meson-script.py