Skip to content

Commit e22d0e2

Browse files
committed
Adjusted version regex for double quotes
1 parent 74cb750 commit e22d0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def read_file(filename, encoding='utf8'):
1515
here = os.path.abspath(os.path.dirname(__file__))
1616

1717
module = read_file(os.path.join(here, 'wls_rest_python.py'))
18-
meta = dict(re.findall(r"""__([a-z]+)__ = '([^']+)""", module))
18+
meta = dict(re.findall(r"""__([a-z]+)__ = "([^"]+)""", module))
1919

2020
readme = read_file(os.path.join(here, 'README.rst'))
2121
version = meta['version']

0 commit comments

Comments
 (0)