Skip to content

Commit

Permalink
ensure prefix path is absolute (#1227)
Browse files Browse the repository at this point in the history
Replaces #1208 as the PR is not edit-able.
  • Loading branch information
gaborbernat authored Oct 26, 2018
1 parent afca44a commit 9dfcb43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Release History
===============


16.1.0 (unreleased)
-------------------

* Fixed documentation to use pypi.org and correct curl options; :issue:`1042`
* bug fix: ensure prefix is absolute when creating a new virtual environment :issue:`1208`

16.0.0 (2018-05-16)
-------------------
Expand Down
1 change: 1 addition & 0 deletions src/virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,7 @@ def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, sy
prefix = sys.base_prefix
else:
prefix = sys.prefix
prefix = os.path.abspath(prefix)
mkdir(lib_dir)
fix_lib64(lib_dir, symlink)
stdlib_dirs = [os.path.dirname(os.__file__)]
Expand Down

0 comments on commit 9dfcb43

Please sign in to comment.