Skip to content

Commit

Permalink
moving to python3 (build scripts)
Browse files Browse the repository at this point in the history
  • Loading branch information
jensgoe committed Feb 4, 2018
1 parent dac6b55 commit 4fb0ac0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -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`; \
Expand Down
2 changes: 1 addition & 1 deletion make.bat
Expand Up @@ -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
Expand Down

0 comments on commit 4fb0ac0

Please sign in to comment.