diff options
author | Jannis Leidel <jannis@leidel.info> | 2012-09-01 16:19:19 +0200 |
---|---|---|
committer | Jannis Leidel <jannis@leidel.info> | 2012-09-01 16:19:19 +0200 |
commit | 235e1dea02abd3a89ab53ea8035fd4ee8a37887b (patch) | |
tree | 5e7b2c5a853aefed870863bed9da6722100e2420 /pip/commands/install.py | |
parent | 6083597ebebd05d28b57d53c6077bfa7c3b168f8 (diff) | |
parent | b183a327412e83ac24a9c9d28a6bedd94bb69d7b (diff) | |
download | pip-threaded-page-getting.tar.gz |
Merge branch 'develop' into threaded-page-gettingthreaded-page-getting
Diffstat (limited to 'pip/commands/install.py')
-rw-r--r-- | pip/commands/install.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pip/commands/install.py b/pip/commands/install.py index 71ec42f51..a067f31c9 100644 --- a/pip/commands/install.py +++ b/pip/commands/install.py @@ -9,6 +9,7 @@ from pip.locations import build_prefix, src_prefix, virtualenv_no_global from pip.basecommand import Command from pip.index import PackageFinder from pip.exceptions import InstallationError, CommandError +from pip.backwardcompat import home_lib class InstallCommand(Command): @@ -276,7 +277,7 @@ class InstallCommand(Command): if options.target_dir: if not os.path.exists(options.target_dir): os.makedirs(options.target_dir) - lib_dir = os.path.join(temp_target_dir, "lib/python/") + lib_dir = home_lib(temp_target_dir) for item in os.listdir(lib_dir): shutil.move( os.path.join(lib_dir, item), |