From 0bf3b7a32beb2df766c6d7cbd91f70ae988f615c Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Wed, 3 Jun 2015 15:56:54 +0200 Subject: [PATCH] conda/setuptools: artiq needs python >= 3.4.3 --- conda/artiq/meta.yaml | 4 ++-- setup.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/conda/artiq/meta.yaml b/conda/artiq/meta.yaml index dec979308..9a2a3daec 100644 --- a/conda/artiq/meta.yaml +++ b/conda/artiq/meta.yaml @@ -27,13 +27,13 @@ build: requirements: build: - - python + - python >=3.4.3 - setuptools - numpy - migen - pyelftools run: - - python + - python >=3.4.3 - llvmlite-or1k - scipy - numpy diff --git a/setup.py b/setup.py index ff98ab0ba..b783092fb 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,10 @@ #!/usr/bin/env python3 from setuptools import setup, find_packages +import sys +if sys.version_info[:3] < (3, 4, 3): + raise Exception("You need at least Python 3.4.3 to run ARTIQ") requirements = [ "sphinx", "sphinx-argparse", "pyserial", "numpy", "scipy",