Skip to content

Commit ef52672

Browse files
committed
Generate black-compatible _version.py
1 parent b244532 commit ef52672

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
@@ -119,7 +119,7 @@ def git_describe_to_python_version(version):
119119

120120
with open(version_file, "w") as vf:
121121
vf.write("# Auto-generated file, do not edit!\n")
122-
vf.write(f"__version__ = '{version}'\n")
122+
vf.write(f"__version__ = \"{version}\"\n")
123123

124124

125125
class install(_install):

0 commit comments

Comments
 (0)