Skip to content

Commit

Permalink
Fix same quotationmistake in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Oct 27, 2021
1 parent 6b525e1 commit 73cad97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def fglob(patt):
# Retrieve emmo-package version
with open(os.path.join(rootdir, 'ontopy/__init__.py')) as handle:
for line in handle:
match = re.match(r"__version__ = '(?P<version>.*)'", line)
match = re.match(r"__version__ = ('|\")(?P<version>.*)('|\")", line)
if match is not None:
VERSION = match.group("version")
break
Expand Down

0 comments on commit 73cad97

Please sign in to comment.