mirror of
https://github.com/KevinMidboe/tableprint.git
synced 2025-10-28 17:30:16 +00:00
Explicit unpacking of metadata in setup.py for 2.7/3.4 support
This commit is contained in:
@@ -3,6 +3,7 @@ python:
|
||||
- "2.7"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
install:
|
||||
- sudo apt-get update
|
||||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Version info
|
||||
__name__ = 'tableprint'
|
||||
__version__ = '0.6.5'
|
||||
__version__ = '0.6.6'
|
||||
__license__ = 'MIT'
|
||||
|
||||
# Project description(s)
|
||||
|
||||
12
setup.py
12
setup.py
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user