[libvirt] [PATCH] libvirt-python: add classifiers to setup.py

Daniel P. Berrange berrange at redhat.com
Wed Apr 22 13:44:56 UTC 2015


On Wed, Apr 22, 2015 at 03:42:58PM +0200, Victor Stinner wrote:
> Add the Python 3 classifier, needed by the caniusepython3 tool to check
> if dependencies of a projects are Python 3 compatible:
> 
>     https://caniusepython3.com/
> ---
>  setup.py | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/setup.py b/setup.py
> index 79b048f..116b3c0 100755
> --- a/setup.py
> +++ b/setup.py
> @@ -325,4 +325,12 @@ setup(name = 'libvirt-python',
>            'sdist': my_sdist,
>            'rpm': my_rpm,
>            'test': my_test
> -      })
> +      },
> +      classifiers = [
> +          "Development Status :: 5 - Production/Stable",
> +          "Intended Audience :: Developers",
> +          "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
> +          "Programming Language :: Python",
> +          "Programming Language :: Python :: 3",

Think we'd want this too

  "Programming Language :: Python :: 2",


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list