setup: simpler version check, beta status

This commit is contained in:
Sebastien Bourdeauducq 2015-09-24 16:08:39 +08:00
parent 33f344b92a
commit af88a7a3f9
1 changed files with 4 additions and 5 deletions

View File

@ -5,10 +5,9 @@ from setuptools import setup
from setuptools import find_packages
required_version = (3, 3)
if sys.version_info < required_version:
raise SystemExit("Migen requires python {0} or greater".format(
".".join(map(str, required_version))))
if sys.version_info[:3] < (3, 3):
raise SystemExit("You need Python 3.3+")
setup(
name="migen",
@ -27,7 +26,7 @@ setup(
classifiers=[
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
"Environment :: Console",
"Development Status :: Alpha",
"Development Status :: Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",