setup: Fix your license so bdist_rpm doesn't trip.
This commit is contained in:
@@ -8,6 +8,9 @@ This is the changelog for Puppetboard.
|
|||||||
=====
|
=====
|
||||||
|
|
||||||
* Fix the sorting of the different tables containing facts.
|
* Fix the sorting of the different tables containing facts.
|
||||||
|
* Fix the license in our ``setup.py``. The license shouldn't be longer than
|
||||||
|
200 characters. We were including the full license tripping up tools like
|
||||||
|
bdist_rpm.
|
||||||
|
|
||||||
0.0.3
|
0.0.3
|
||||||
=====
|
=====
|
||||||
|
|||||||
5
setup.py
5
setup.py
@@ -17,9 +17,6 @@ with codecs.open('README.rst', encoding='utf-8') as f:
|
|||||||
with codecs.open('CHANGELOG.rst', encoding='utf-8') as f:
|
with codecs.open('CHANGELOG.rst', encoding='utf-8') as f:
|
||||||
CHANGELOG = f.read()
|
CHANGELOG = f.read()
|
||||||
|
|
||||||
with codecs.open('LICENSE', encoding='utf-8') as f:
|
|
||||||
LICENSE = f.read()
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='puppetboard',
|
name='puppetboard',
|
||||||
version=VERSION,
|
version=VERSION,
|
||||||
@@ -27,7 +24,7 @@ setup(
|
|||||||
author_email='daniele.sluijters+pypi@gmail.com',
|
author_email='daniele.sluijters+pypi@gmail.com',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
url='https://github.com/nedap/puppetboard',
|
url='https://github.com/nedap/puppetboard',
|
||||||
license=LICENSE,
|
license='Apache License 2.0',
|
||||||
description='Web frontend for PuppetDB',
|
description='Web frontend for PuppetDB',
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
long_description='\n'.join((README, CHANGELOG)),
|
long_description='\n'.join((README, CHANGELOG)),
|
||||||
|
|||||||
Reference in New Issue
Block a user