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:
parent
3143608e0a
commit
9f05e7235d
4
setup.py
4
setup.py
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.2
|
#!/usr/bin/env python3
|
||||||
# vim: noexpandtab:tabstop=8:softtabstop=8
|
# vim: noexpandtab:tabstop=8:softtabstop=8
|
||||||
""" Migen's distutils distribution and installation script. """
|
""" Migen's distutils distribution and installation script. """
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ from distutils.core import setup
|
||||||
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, 2)
|
required_version = (3, 1)
|
||||||
if sys.version_info < required_version:
|
if sys.version_info < required_version:
|
||||||
raise SystemExit("migen requires python {0} or greater".format(
|
raise SystemExit("migen requires python {0} or greater".format(
|
||||||
".".join(map(str, required_version))))
|
".".join(map(str, required_version))))
|
||||||
|
|
Loading…
Reference in New Issue