mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
f-strings not available in 2.7
This commit is contained in:
@@ -34,10 +34,10 @@ PACKAGE = 'wx.svg'
|
||||
PACKAGEDIR = 'wx/svg'
|
||||
|
||||
with open(os.path.join(HERE, PACKAGEDIR, '_version.py'), 'w') as f:
|
||||
f.write(textwrap.dedent(f"""\
|
||||
# Generated from {__file__}
|
||||
__version__ = '{VERSION}'
|
||||
"""))
|
||||
f.write(textwrap.dedent("""\
|
||||
# Generated from {}
|
||||
__version__ = '{}'
|
||||
""".format(__file__, VERSION)))
|
||||
|
||||
if have_cython:
|
||||
SOURCE = os.path.join(PACKAGEDIR, '_nanosvg.pyx')
|
||||
|
||||
Reference in New Issue
Block a user