setup: Fix your license so bdist_rpm doesn't trip.

This commit is contained in:
Daniele Sluijters
2014-01-21 15:12:40 +01:00
parent 386fea9e1e
commit c52da03f60
2 changed files with 4 additions and 4 deletions

View File

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

View File

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