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:
@@ -1,6 +1,6 @@
|
|||||||
# Version info
|
# Version info
|
||||||
__name__ = 'tableprint'
|
__name__ = 'tableprint'
|
||||||
__version__ = '0.6.3'
|
__version__ = '0.6.4'
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
|
|
||||||
# Project description(s)
|
# Project description(s)
|
||||||
|
|||||||
5
setup.py
5
setup.py
@@ -3,12 +3,10 @@ from setuptools import setup
|
|||||||
|
|
||||||
|
|
||||||
with open('metadata.py', 'r') as f:
|
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(
|
setup(
|
||||||
**metadata,
|
|
||||||
|
|
||||||
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||||
classifiers=[
|
classifiers=[
|
||||||
# How mature is this project? Common values are
|
# How mature is this project? Common values are
|
||||||
@@ -54,4 +52,5 @@ setup(
|
|||||||
'test': ['pytest', 'coverage'],
|
'test': ['pytest', 'coverage'],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
**metadata,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user