Changeset 7008ffa in trunk
- Timestamp:
- 2013-03-15T05:13:30Z (12 years ago)
- Branches:
- master
- Children:
- 427193d
- Parents:
- 3bdd744
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified bin/tahoe-script.template ¶
r3bdd744 r7008ffa 1 1 #!/bin/false # You must specify a python interpreter. 2 import sys; assert sys.version_info < (3,), ur"Tahoe-LAFS does not run under Python 3. Please use a version of Python between 2. 5and 2.7.x inclusive."2 import sys; assert sys.version_info < (3,), ur"Tahoe-LAFS does not run under Python 3. Please use a version of Python between 2.6 and 2.7.x inclusive." 3 3 4 4 import os, subprocess -
TabularUnified setup.py ¶
r3bdd744 r7008ffa 1 1 #! /usr/bin/env python 2 2 # -*- coding: utf-8 -*- 3 import sys; assert sys.version_info < (3,), ur"Tahoe-LAFS does not run under Python 3. Please use a version of Python between 2. 5and 2.7.x inclusive."3 import sys; assert sys.version_info < (3,), ur"Tahoe-LAFS does not run under Python 3. Please use a version of Python between 2.6 and 2.7.x inclusive." 4 4 5 5 # Tahoe-LAFS -- secure, distributed storage grid -
TabularUnified src/allmydata/__init__.py ¶
r3bdd744 r7008ffa 358 358 errors = [] 359 359 360 # We require at least 2. 5on all platforms.360 # We require at least 2.6 on all platforms. 361 361 # (On Python 3, we'll have failed long before this point.) 362 if sys.version_info < (2, 5):362 if sys.version_info < (2, 6): 363 363 try: 364 364 version_string = ".".join(map(str, sys.version_info)) 365 365 except Exception: 366 366 version_string = repr(sys.version_info) 367 errors.append("Tahoe-LAFS current requires Python v2.5or greater (but less than v3), not %s"367 errors.append("Tahoe-LAFS currently requires Python v2.6 or greater (but less than v3), not %s" 368 368 % (version_string,)) 369 369
Note: See TracChangeset
for help on using the changeset viewer.