summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2016-01-01 15:01:27 +0000
committerRussel Winder <russel@winder.org.uk>2016-01-01 15:01:27 +0000
commit533ab8598e0f32928589a5f8061dbe191a095b46 (patch)
tree7fdc13c5731ee72d402b6ac19c52b506df77d574 /SConstruct
parent0b1be9f0d5520e3a541a7c4d026ba4145a618dec (diff)
downloadscons-533ab8598e0f32928589a5f8061dbe191a095b46.tar.gz
Some more print statements to functions.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 3 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 8734c2e2..1616fc27 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2,6 +2,7 @@
# SConstruct file to build scons packages during development.
#
# See the README.rst file for an overview of how SCons is built and tested.
+
from __future__ import print_function
copyright_years = '2001 - 2015'
@@ -162,7 +163,7 @@ import distutils.command
no_winpack_templates = not os.path.exists(os.path.join(os.path.split(distutils.command.__file__)[0],'wininst-9.0.exe'))
skip_win_packages = ARGUMENTS.get('SKIP_WIN_PACKAGES',False) or no_winpack_templates
if skip_win_packages:
- print "Skipping the build of Windows packages..."
+ print("Skipping the build of Windows packages...")
python_ver = sys.version[0:3]
@@ -1049,7 +1050,7 @@ for p in [ scons ]:
# The built deb is called just x.y.z, not x.y.z.final.0 so strip those off:
deb_version = '.'.join(version.split('.')[0:3])
deb = os.path.join(build_dir, 'dist', "%s_%s_all.deb" % (pkg, deb_version))
- # print "Building deb into %s (version=%s)"%(deb, deb_version)
+ # print("Building deb into %s (version=%s)"%(deb, deb_version))
for d in p['debian_deps']:
b = env.SCons_revision(os.path.join(build, d), d)
env.Depends(deb, b)