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",