From eaaacfcd5e84f83a7dc15594b0668f2ead808cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Boros?= Date: Mon, 29 Apr 2019 08:54:30 +0200 Subject: [PATCH] Fix setup.py --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 22f99249..3d87c6ae 100644 --- a/setup.py +++ b/setup.py @@ -45,10 +45,7 @@ VERSION += "." + MATCH.group("post") with open("rethinkdb/version.py", "w") as f: - f.writelines([ - "# Autogenerated version", - "VERSION = {0}".format(VERSION) - ]) + f.write('VERSION = {0}'.format(repr(VERSION))) else: raise RuntimeError("{!r} does not match version format {!r}".format( RETHINKDB_VERSION_DESCRIBE, VERSION_RE))