Add python_requires to Python package metadata

freeIPA 4.6 and 4.7 requires Python 2.7 or >= 3.5.

https://pagure.io/freeipa/issue/7294

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Christian Heimes 2017-12-06 10:17:57 +01:00
parent 34f73b4a94
commit ec4620ecb2

View File

@ -97,6 +97,7 @@ common_args = dict(
url="http://www.freeipa.org/",
download_url="http://www.freeipa.org/page/Downloads",
platforms=["Linux", "Solaris", "Unix"],
python_requires=">=2.7.5,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",