From 4fb0ac00f99778f8dda92bd380e64740285c8210 Mon Sep 17 00:00:00 2001 From: jensgoe Date: Sun, 4 Feb 2018 23:47:28 +0100 Subject: [PATCH] moving to python3 (build scripts) --- Makefile | 4 ++-- make.bat | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 91231d8..39cac0c 100644 --- a/Makefile +++ b/Makefile @@ -27,12 +27,12 @@ pot: versioninfo: - python3 -c "from photofilmstrip import Constants;print Constants.APP_VERSION"; \ + python3 -c "from photofilmstrip import Constants;print(Constants.APP_VERSION)"; \ package: curdir=`pwd`; \ - ver=`python3 -c "from photofilmstrip import Constants;print Constants.APP_VERSION"`; \ + ver=`python3 -c "from photofilmstrip import Constants;print(Constants.APP_VERSION)"`; \ appver=`echo $(appname)-$$ver`; \ releasedir=`echo release_\`date +"%Y_%m_%d"\``; \ targetdir=`echo $$releasedir/$$appver`; \ diff --git a/make.bat b/make.bat index 636a3e8..b582ee5 100644 --- a/make.bat +++ b/make.bat @@ -23,7 +23,7 @@ goto end goto end :versioninfo -%PYTHON% -c "from photofilmstrip import Constants;print Constants.APP_VERSION" +%PYTHON% -c "from photofilmstrip import Constants;print(Constants.APP_VERSION)" goto end :package