mirror of
https://github.com/KevinMidboe/tableprint.git
synced 2025-10-29 18:00:16 +00:00
🐛fix in metadata regex
This commit is contained in:
5
setup.py
5
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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user