mirror of https://github.com/m-labs/artiq.git
depend on python >=3.5.2 <3.6
This commit is contained in:
parent
fbbfdb0729
commit
29809a5942
|
@ -12,7 +12,7 @@ build:
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
run:
|
run:
|
||||||
- python 3.5.2
|
- python >=3.5.2,<3.6
|
||||||
- setuptools
|
- setuptools
|
||||||
- migen 0.4
|
- migen 0.4
|
||||||
- misoc 0.3
|
- misoc 0.3
|
||||||
|
|
|
@ -6,7 +6,7 @@ channels:
|
||||||
- m-labs/label/main
|
- m-labs/label/main
|
||||||
- defaults
|
- defaults
|
||||||
dependencies:
|
dependencies:
|
||||||
- python=3.5.2
|
- python>=3.5.2,<3.6
|
||||||
- sphinx=1.4.8
|
- sphinx=1.4.8
|
||||||
- sphinx-argparse
|
- sphinx-argparse
|
||||||
- sphinxcontrib-wavedrom
|
- sphinxcontrib-wavedrom
|
||||||
|
|
|
@ -12,10 +12,10 @@ build:
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
build:
|
build:
|
||||||
- python 3.5.2
|
- python >=3.5.2,<3.6
|
||||||
- setuptools
|
- setuptools
|
||||||
run:
|
run:
|
||||||
- python 3.5.2
|
- python >=3.5.2,<3.6
|
||||||
- llvmlite-artiq 0.10.0.dev py35_24
|
- llvmlite-artiq 0.10.0.dev py35_24
|
||||||
- binutils-or1k-linux
|
- binutils-or1k-linux
|
||||||
- pythonparser 1.0
|
- pythonparser 1.0
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -6,8 +6,8 @@ import sys
|
||||||
import versioneer
|
import versioneer
|
||||||
|
|
||||||
|
|
||||||
if sys.version_info[:3] < (3, 5, 2):
|
if not (3, 5, 2) <= sys.version_info[:3] < (3, 6, 0):
|
||||||
raise Exception("You need Python 3.5.2+")
|
raise Exception("You need Python 3.5.2+ (but not 3.6)")
|
||||||
|
|
||||||
|
|
||||||
# Depends on PyQt5, but setuptools cannot check for it.
|
# Depends on PyQt5, but setuptools cannot check for it.
|
||||||
|
|
Loading…
Reference in New Issue