From 4fc0df2402da48d1b8a88150237e88aed2904fa7 Mon Sep 17 00:00:00 2001 From: Niru Maheswaranathan Date: Thu, 25 May 2017 11:53:24 -0700 Subject: [PATCH] :bug:fix in metadata regex --- metadata.py | 2 +- setup.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/metadata.py b/metadata.py index 853e753..4617958 100644 --- a/metadata.py +++ b/metadata.py @@ -1,6 +1,6 @@ # Version info __name__ = 'tableprint' -__version__ = '0.6.3' +__version__ = '0.6.4' __license__ = 'MIT' # Project description(s) diff --git a/setup.py b/setup.py index 84c70e7..4c75c86 100644 --- a/setup.py +++ b/setup.py @@ -3,12 +3,10 @@ from setuptools import setup with open('metadata.py', 'r') as f: - metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", f.read())) + metadata = dict(re.findall("__([a-z_]+)__\s*=\s*'([^']+)'", f.read())) setup( - **metadata, - # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ # How mature is this project? Common values are @@ -54,4 +52,5 @@ setup( 'test': ['pytest', 'coverage'], }, + **metadata, )