Lower required python version to 3.1

migen is confirmed to work fine with python 3.1, so lower the required version
from 3.2 to 3.1.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
This commit is contained in:
Lars-Peter Clausen 2012-01-31 21:46:08 +01:00
parent 3143608e0a
commit 9f05e7235d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3.2
#!/usr/bin/env python3
# vim: noexpandtab:tabstop=8:softtabstop=8
""" Migen's distutils distribution and installation script. """
@ -8,7 +8,7 @@ from distutils.core import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, "README")).read()
required_version = (3, 2)
required_version = (3, 1)
if sys.version_info < required_version:
raise SystemExit("migen requires python {0} or greater".format(
".".join(map(str, required_version))))