Require Python 3.3

This commit is contained in:
Sebastien Bourdeauducq 2013-05-26 18:02:18 +02:00
parent e272e68fac
commit c13e573e9f
2 changed files with 2 additions and 2 deletions

2
README
View File

@ -21,7 +21,7 @@ https://github.com/milkymist/migen
Experimental version of the Milkymist SoC based on Migen: Experimental version of the Milkymist SoC based on Migen:
https://github.com/milkymist/milkymist-ng https://github.com/milkymist/milkymist-ng
Mibuild is designed for Python 3. Mibuild is designed for Python 3.3.
Send questions, comments and patches to devel [AT] lists.milkymist.org Send questions, comments and patches to devel [AT] lists.milkymist.org
Description files for new boards welcome. Description files for new boards welcome.

View File

@ -7,7 +7,7 @@ from setuptools import find_packages
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, "README")).read() README = open(os.path.join(here, "README")).read()
required_version = (3, 1) required_version = (3, 3)
if sys.version_info < required_version: if sys.version_info < required_version:
raise SystemExit("Mibuild requires python {0} or greater".format( raise SystemExit("Mibuild requires python {0} or greater".format(
".".join(map(str, required_version)))) ".".join(map(str, required_version))))