Explicit unpacking of metadata in setup.py for 2.7/3.4 support

This commit is contained in:
Niru Maheswaranathan
2017-05-25 12:04:47 -07:00
parent 2ef7ba6b49
commit d7732f2f0e
3 changed files with 12 additions and 3 deletions

View File

@@ -7,6 +7,16 @@ with open('metadata.py', 'r') as f:
setup(
name=metadata['name'],
url=metadata['url'],
version=metadata['version'],
author=metadata['author'],
author_email=metadata['author_email'],
license=metadata['license'],
description=metadata['description'],
long_description='''Formatted console printing of tabular data.
tableprint lets you easily print formatted tables of data.
Unlike other modules, you can print single rows of data at a time
@@ -56,6 +66,4 @@ setup(
'dev': [],
'test': ['pytest', 'coverage'],
},
**metadata,
)