2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-13 11:17:47 +00:00

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
This commit is contained in:
Jarrod Johnson 2015-12-01 14:30:01 -05:00
parent 25165b68a6
commit f8d77ac2cc

View File

@ -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)