From: Sebastien Bourdeauducq Date: Thu, 24 Sep 2015 08:08:39 +0000 (+0800) Subject: setup: simpler version check, beta status X-Git-Tag: 24jan2021_ls180~2099^2~3^2~43 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af88a7a3f9f8d7225eb46d3faf0ab58a5c2e7656;p=litex.git setup: simpler version check, beta status --- diff --git a/setup.py b/setup.py index 0b5d70f7..fb139718 100755 --- a/setup.py +++ b/setup.py @@ -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",