Skip to content

Commit 724cd13

Browse files
committed
Fix setup.py
1 parent 9cae176 commit 724cd13

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

prawdditions/__init__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
"""Top level of the PRAWdittions package."""
1+
"""Top level of the PRAWdittions package."""
2+
3+
from .const import __version__ # F401

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
with open(path.join(HERE, "README.rst"), encoding="utf-8") as fp:
1212
README = fp.read()
1313
with open(path.join(HERE, PACKAGE_NAME, "const.py"), encoding="utf-8") as fp:
14-
VERSION = re.search("__version__ = '([^']+)'", fp.read()).group(1)
14+
VERSION = re.search('__version__ = "([^"]+)"', fp.read()).group(1)
1515

1616
extras = {
1717
"ci": ["coveralls"],

0 commit comments

Comments
 (0)