File tree 5 files changed +18
-10
lines changed
5 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 42
42
#
43
43
# The short X.Y version.
44
44
45
- release = "1.6.2 "
45
+ release = "1.6.3 "
46
46
version = "." .join (release .split ("." )[:2 ])
47
47
48
48
# There are two options for replacing |today|: either, you set today to some
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ Next release (1.7) schedule
6
6
7
7
Beta release mid-July 2011, final release early August.
8
8
9
+ 1.6.3 (2011-07-16)
10
+ ~~~~~~~~~~~~~~~~~~
11
+
12
+ * Restored ability to run on Python < 2.7.
13
+
9
14
1.6.2 (2011-07-16)
10
15
~~~~~~~~~~~~~~~~~~
11
16
Original file line number Diff line number Diff line change 26
26
setup (name = 'virtualenv' ,
27
27
# If you change the version here, change it in virtualenv.py and
28
28
# docs/conf.py as well
29
- version = "1.6.2 " ,
29
+ version = "1.6.3 " ,
30
30
description = "Virtual Python Environment builder" ,
31
31
long_description = long_description ,
32
32
classifiers = [
Original file line number Diff line number Diff line change 4
4
5
5
def test_version ():
6
6
"""Should have a version string"""
7
- assert virtualenv .virtualenv_version == "1.6.2 " , "Should have version"
7
+ assert virtualenv .virtualenv_version == "1.6.3 " , "Should have version"
8
8
9
9
10
10
@patch ('os.path.exists' )
Original file line number Diff line number Diff line change 4
4
5
5
# If you change the version here, change it in setup.py
6
6
# and docs/conf.py as well.
7
- virtualenv_version = "1.6.2 "
7
+ virtualenv_version = "1.6.3 "
8
8
9
9
import base64
10
10
import sys
13
13
import re
14
14
import shutil
15
15
import logging
16
- import sysconfig
17
16
import tempfile
18
17
import zlib
19
18
import errno
@@ -1273,11 +1272,15 @@ def fix_local_scheme(home_dir):
1273
1272
Platforms that use the "posix_local" install scheme (like Ubuntu with
1274
1273
Python 2.7) need to be given an additional "local" location, sigh.
1275
1274
"""
1276
- if sysconfig ._get_default_scheme () == 'posix_local' :
1277
- local_path = os .path .join (home_dir , 'local' )
1278
- if not os .path .exists (local_path ):
1279
- os .symlink (os .path .abspath (home_dir ), local_path )
1280
-
1275
+ try :
1276
+ import sysconfig
1277
+ except ImportError :
1278
+ pass
1279
+ else :
1280
+ if sysconfig ._get_default_scheme () == 'posix_local' :
1281
+ local_path = os .path .join (home_dir , 'local' )
1282
+ if not os .path .exists (local_path ):
1283
+ os .symlink (os .path .abspath (home_dir ), local_path )
1281
1284
1282
1285
def fix_lib64 (lib_dir ):
1283
1286
"""
You can’t perform that action at this time.
0 commit comments