Using metadata.py to manage version number and other metadata

This commit is contained in:
Niru Maheswaranathan
2017-05-25 11:40:22 -07:00
parent cb7c1d27f4
commit 5cfa62253f
3 changed files with 27 additions and 23 deletions

View File

@@ -11,6 +11,7 @@ Usage
>>> tableprint.table(data, headers)
"""
from __future__ import print_function, unicode_literals
from metadata import __version__
from six import string_types
from collections import namedtuple
from numbers import Number
@@ -20,7 +21,6 @@ import numpy as np
__all__ = ('table', 'header', 'row', 'hr', 'top', 'bottom',
'banner', 'dataframe', 'humantime', 'styles')
__version__ = '0.5.4'
# set up table styles
LineStyle = namedtuple('LineStyle', ('begin', 'hline', 'sep', 'end'))