diff --git a/README.md b/README.md index 36c7fd1..265bf72 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Hosted at Read The Docs: [tableprint.readthedocs.org](http://tableprint.readthed - `six` ## Version -- 0.6.6 (May 25 2017) Fixes some bugs with ANSI escape sequences +- 0.6.7 (May 25 2017) Fixes some bugs with ANSI escape sequences - 0.5.0 (Sept 29 2016) Better handling of ANSI escape sequences in table rows - 0.4.0 (May 3 2016) Adds a 'block' style - 0.3.2 (May 3 2016) Adds a test suite diff --git a/metadata.py b/metadata.py index 3ac26a5..5611083 100644 --- a/metadata.py +++ b/metadata.py @@ -1,6 +1,6 @@ # Version info __name__ = 'tableprint' -__version__ = '0.6.6' +__version__ = '0.6.7' __license__ = 'MIT' # Project description(s) diff --git a/setup.py b/setup.py index 00d1be5..88150cf 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,10 @@ import re +import os from setuptools import setup -with open('metadata.py', 'r') as f: +__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__))) +with open(os.path.join(__location__, 'metadata.py'), 'r') as f: metadata = dict(re.findall("__([a-z_]+)__\s*=\s*'([^']+)'", f.read()))