depend on python >=3.5.2 <3.6

This commit is contained in:
Robert Jördens 2017-05-11 15:05:00 +02:00
parent fbbfdb0729
commit 29809a5942
4 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ build:
requirements:
run:
- python 3.5.2
- python >=3.5.2,<3.6
- setuptools
- migen 0.4
- misoc 0.3

View File

@ -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

View File

@ -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

View File

@ -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.