From f8d77ac2cced9c59e6757ea12b72266489e9f29c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 1 Dec 2015 14:30:01 -0500 Subject: [PATCH] Add license parameter to setup.py In order to have bdist_rpm output serviceable, add the license field. This results in an rpm that has all the fields desired. Change-Id: I18f75f89385ac5022050372925c19f46206244f9 --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 5e2097b1..a6dfecf5 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ #!/usr/bin/env python # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. +# Copyright (c) 2015 Lenovo # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -18,6 +19,7 @@ import setuptools setuptools.setup( + license='Apache License, Version 2.0', scripts=['bin/pyghmicons', 'bin/pyghmiutil', 'bin/virshbmc'], setup_requires=['pbr'], pbr=True)