Skip to content

Commit b8ff709

Browse files
committed
Build: Minor modernisation in setup.py.
1 parent 721f217 commit b8ff709

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
@@ -481,7 +481,7 @@ def write_file(filename, content):
481481
read_file(os.path.join(basedir, text_file))
482482
for text_file in ['README.rst', 'INSTALL.rst', 'CHANGES.rst', "LICENSE.txt"]])
483483

484-
write_file(os.path.join(basedir, 'lupa', 'version.py'), u"__version__ = '%s'\n" % VERSION)
484+
write_file(os.path.join(basedir, 'lupa', 'version.py'), f"__version__ = '{VERSION}'\n")
485485

486486
dll_files = []
487487
for config in configs:

0 commit comments

Comments
 (0)