mirror of
https://github.com/KevinMidboe/tableprint.git
synced 2025-10-29 01:40:17 +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"
|
- "2.7"
|
||||||
- "3.4"
|
- "3.4"
|
||||||
- "3.5"
|
- "3.5"
|
||||||
|
- "3.6"
|
||||||
install:
|
install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
|
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Version info
|
# Version info
|
||||||
__name__ = 'tableprint'
|
__name__ = 'tableprint'
|
||||||
__version__ = '0.6.5'
|
__version__ = '0.6.6'
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
|
|
||||||
# Project description(s)
|
# Project description(s)
|
||||||
|
|||||||
12
setup.py
12
setup.py
@@ -7,6 +7,16 @@ with open('metadata.py', 'r') as f:
|
|||||||
|
|
||||||
|
|
||||||
setup(
|
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.
|
long_description='''Formatted console printing of tabular data.
|
||||||
tableprint lets you easily print formatted tables of data.
|
tableprint lets you easily print formatted tables of data.
|
||||||
Unlike other modules, you can print single rows of data at a time
|
Unlike other modules, you can print single rows of data at a time
|
||||||
@@ -56,6 +66,4 @@ setup(
|
|||||||
'dev': [],
|
'dev': [],
|
||||||
'test': ['pytest', 'coverage'],
|
'test': ['pytest', 'coverage'],
|
||||||
},
|
},
|
||||||
|
|
||||||
**metadata,
|
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user