Skip to content

Commit 031f3a5

Browse files
committed
[do release] call python3 instead of just python
1 parent fd6addf commit 031f3a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/dorelease.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def main():
259259

260260
newverstr = args[0]
261261
prepline = "Preparing new release: {}".format(newverstr)
262-
banner = "="*len(prepline) + "\n" + prepline + "\n" + "="*len(prepline)
262+
banner = "=" * len(prepline) + "\n" + prepline + "\n" + "=" * len(prepline)
263263
banner = bold_begin + banner + bold_end
264264
print(banner)
265265

@@ -278,7 +278,7 @@ def main():
278278

279279
print("Creating archives...")
280280
os.chdir(gitroot)
281-
ret = call(["python", "setup.py", "sdist", "bdist_wheel"])
281+
ret = call(["python3", "setup.py", "sdist", "bdist_wheel"])
282282

283283
if ret > 0:
284284
die("Error creating package")

0 commit comments

Comments
 (0)