summaryrefslogtreecommitdiffstats
path: root/src/setup.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-05-23 23:21:26 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-05-23 23:21:26 (GMT)
commitaa5a0468340338cc3423a06d6d55e1b52a713bc5 (patch)
tree71ff4e88b1e418ff32ba89ae0f4cf0b3f0d180a1 /src/setup.py
parent15bd909b178ba5271125fca6846fa8c069be79f1 (diff)
parentb387e34357c968d0855c525c7e838657a957ff01 (diff)
downloadSCons-aa5a0468340338cc3423a06d6d55e1b52a713bc5.zip
SCons-aa5a0468340338cc3423a06d6d55e1b52a713bc5.tar.gz
SCons-aa5a0468340338cc3423a06d6d55e1b52a713bc5.tar.bz2
merge python3 branch to default
Diffstat (limited to 'src/setup.py')
-rw-r--r--src/setup.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/setup.py b/src/setup.py
index 91b7752..9a02b25 100644
--- a/src/setup.py
+++ b/src/setup.py
@@ -32,6 +32,8 @@ NOTE: Installed SCons is not importable like usual Python packages. It is
below is dedicated to make it happen on various platforms.
"""
+from __future__ import print_function
+
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
@@ -46,14 +48,6 @@ man_pages = [
'scons-time.1',
]
-# Exit with error if trying to install with Python >= 3.0
-if sys.version_info >= (3,0,0):
- msg = "scons: *** SCons does not run under Python version %s.\n\
-Python 3 and above are not yet supported.\n"
- sys.stderr.write(msg % (sys.version.split()[0]))
- sys.exit(1)
-
-
# change to setup.py directory if it was executed from other dir
(head, tail) = os.path.split(sys.argv[0])
if head: