URL: https://github.com/freeipa/freeipa/pull/197
Author: tiran
 Title: #197: Make setup.py files PyPI compatible
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/197/head:pr197
git checkout pr197
From b67be5050a693c04d621ceb9a301755530c9ba48 Mon Sep 17 00:00:00 2001
From: Christian Heimes <chei...@redhat.com>
Date: Mon, 31 Oct 2016 09:19:15 +0100
Subject: [PATCH] Use correct classifiers to make setup.py files PyPI
 compatible

Signed-off-by: Christian Heimes <chei...@redhat.com>
---
 ipasetup.py.in | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/ipasetup.py.in b/ipasetup.py.in
index 2835527..aff40ba 100644
--- a/ipasetup.py.in
+++ b/ipasetup.py.in
@@ -1,5 +1,4 @@
-#!/usr/bin/python2
-# Copyright (C) 2014  Red Hat
+# Copyright (C) 2016  Red Hat
 # see file 'COPYING' for use and warranty information
 #
 # This program is free software; you can redistribute it and/or modify
@@ -18,9 +17,10 @@
 import os
 import sys
 
+
 common_args = dict(
     version="@VERSION@",
-    license="GPL",
+    license="GPLv3+",
     author="FreeIPA Developers",
     author_email="freeipa-devel@redhat.com",
     maintainer="FreeIPA Developers",
@@ -30,14 +30,21 @@ common_args = dict(
     platforms=["Linux", "Solaris", "Unix"],
     classifiers=[
         "Development Status :: 5 - Production/Stable",
-        ("Topic :: System :: Systems Administration :: "
-         "Authentication/Directory :: LDAP"),
-        "Topic :: Internet :: Name Service (DNS)",
-        "Intended Audience :: System Environment/Base",
-        "License :: GPL",
-        "Programming Language :: Python",
+        "Intended Audience :: System Administrators",
+        ("License :: OSI Approved :: "
+         "GNU General Public License v3 or later (GPLv3+)"),
+        "Programming Language :: C",
+        "Programming Language :: Python :: 2",
+        "Programming Language :: Python :: 2.7",
+        "Programming Language :: Python :: 3",
+        "Programming Language :: Python :: 3.5",
+        "Programming Language :: Python :: Implementation :: CPython",
         "Operating System :: POSIX",
+        "Operating System :: POSIX :: Linux",
         "Operating System :: Unix",
+        "Topic :: Internet :: Name Service (DNS)",
+        ("Topic :: System :: Systems Administration :: "
+         "Authentication/Directory :: LDAP"),
     ],
 )
 
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to