🐛fix in metadata regex

This commit is contained in:
Niru Maheswaranathan
2017-05-25 11:53:24 -07:00
parent 4a084afb41
commit 4fc0df2402
2 changed files with 3 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# Version info
__name__ = 'tableprint'
__version__ = '0.6.3'
__version__ = '0.6.4'
__license__ = 'MIT'
# Project description(s)

View File

@@ -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,
)