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