[Python-modules-commits] [python-virtualenv] 01/08: Import python-virtualenv_14.0.5+ds.orig.tar.gz

Barry Warsaw barry at moszumanska.debian.org
Mon Feb 8 16:21:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository python-virtualenv.

commit d56e9859de93a25bcfaa2d7d304ab7ff8cfc82bc
Author: Barry Warsaw <barry at python.org>
Date:   Sun Feb 7 12:06:52 2016 -0500

    Import python-virtualenv_14.0.5+ds.orig.tar.gz
---
 PKG-INFO                        | 16 +++++++---------
 README.rst                      | 13 ++++++++++++-
 docs/changes.rst                | 14 ++++++++++++++
 virtualenv.egg-info/PKG-INFO    | 16 +++++++---------
 virtualenv.egg-info/SOURCES.txt |  2 +-
 virtualenv.py                   | 11 ++++++++---
 6 files changed, 49 insertions(+), 23 deletions(-)

diff --git a/PKG-INFO b/PKG-INFO
index 26bae10..fdb1cd7 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: virtualenv
-Version: 14.0.3
+Version: 14.0.5
 Summary: Virtual Python Environment builder
 Home-page: https://virtualenv.pypa.io/
 Author: Jannis Leidel, Carl Meyer and Brian Rosner
@@ -47,20 +47,18 @@ Description: Virtualenv
         Release History
         ===============
         
-        14.0.3 (2016-01-28)
+        14.0.5 (2016-02-01)
         -------------------
         
-        * Upgrade setuptools to 19.6.1
+        * Homogenize drive letter casing for both prefixes and filenames. #858
         
-        
-        14.0.2 (2016-01-28)
+        14.0.4 (2016-01-31)
         -------------------
         
-        * Upgrade setuptools to 19.6
-        
-        * Supress any errors from `unset` on different shells (PR #843)
+        * Upgrade setuptools to 19.6.2
         
-        * Normalize letter case for prefix path checking. Fixes #837
+        * Revert ac4ea65; only correct drive letter case.
+          Fixes #856, #815
         
         
         `Full Changelog <https://virtualenv.pypa.io/en/latest/changes.html>`_.
diff --git a/README.rst b/README.rst
index c782228..0d5984d 100644
--- a/README.rst
+++ b/README.rst
@@ -1,13 +1,24 @@
 virtualenv
 ==========
 
+A tool for creating isolated 'virtual' python environments.
+
 .. image:: https://img.shields.io/pypi/v/virtualenv.svg
         :target: https://pypi.python.org/pypi/virtualenv
 
 .. image:: https://img.shields.io/travis/pypa/virtualenv/develop.svg
    :target: http://travis-ci.org/pypa/virtualenv
 
-For documentation, see https://virtualenv.pypa.io/
+* `Installation <https://virtualenv.pypa.io/en/latest/installation.html>`_
+* `Documentation <https://virtualenv.pypa.io/>`_
+* `Changelog <https://virtualenv.pypa.io/en/latest/changes.html>`_
+* `Issues <https://github.com/pypa/virtualenv/issues>`_
+* `PyPI <https://pypi.python.org/pypi/virtualenv/>`_
+* `Github <https://github.com/pypa/virtualenv>`_
+* `User mailing list <http://groups.google.com/group/python-virtualenv>`_
+* `Dev mailing list <http://groups.google.com/group/pypa-dev>`_
+* User IRC: #pypa on Freenode.
+* Dev IRC: #pypa-dev on Freenode.
 
 
 Code of Conduct
diff --git a/docs/changes.rst b/docs/changes.rst
index 536c120..1c1ce65 100644
--- a/docs/changes.rst
+++ b/docs/changes.rst
@@ -1,6 +1,20 @@
 Release History
 ===============
 
+14.0.5 (2016-02-01)
+-------------------
+
+* Homogenize drive letter casing for both prefixes and filenames. :issue:`858`
+
+14.0.4 (2016-01-31)
+-------------------
+
+* Upgrade setuptools to 19.6.2
+
+* Revert ac4ea65; only correct drive letter case.
+  Fixes :issue:`856`, :issue:`815`
+
+
 14.0.3 (2016-01-28)
 -------------------
 
diff --git a/virtualenv.egg-info/PKG-INFO b/virtualenv.egg-info/PKG-INFO
index 26bae10..fdb1cd7 100644
--- a/virtualenv.egg-info/PKG-INFO
+++ b/virtualenv.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: virtualenv
-Version: 14.0.3
+Version: 14.0.5
 Summary: Virtual Python Environment builder
 Home-page: https://virtualenv.pypa.io/
 Author: Jannis Leidel, Carl Meyer and Brian Rosner
@@ -47,20 +47,18 @@ Description: Virtualenv
         Release History
         ===============
         
-        14.0.3 (2016-01-28)
+        14.0.5 (2016-02-01)
         -------------------
         
-        * Upgrade setuptools to 19.6.1
+        * Homogenize drive letter casing for both prefixes and filenames. #858
         
-        
-        14.0.2 (2016-01-28)
+        14.0.4 (2016-01-31)
         -------------------
         
-        * Upgrade setuptools to 19.6
-        
-        * Supress any errors from `unset` on different shells (PR #843)
+        * Upgrade setuptools to 19.6.2
         
-        * Normalize letter case for prefix path checking. Fixes #837
+        * Revert ac4ea65; only correct drive letter case.
+          Fixes #856, #815
         
         
         `Full Changelog <https://virtualenv.pypa.io/en/latest/changes.html>`_.
diff --git a/virtualenv.egg-info/SOURCES.txt b/virtualenv.egg-info/SOURCES.txt
index 9c9d071..6a63143 100644
--- a/virtualenv.egg-info/SOURCES.txt
+++ b/virtualenv.egg-info/SOURCES.txt
@@ -43,5 +43,5 @@ virtualenv_embedded/site.py
 virtualenv_support/__init__.py
 virtualenv_support/argparse-1.4.0-py2.py3-none-any.whl
 virtualenv_support/pip-8.0.2-py2.py3-none-any.whl
-virtualenv_support/setuptools-19.6.1-py2.py3-none-any.whl
+virtualenv_support/setuptools-19.6.2-py2.py3-none-any.whl
 virtualenv_support/wheel-0.26.0-py2.py3-none-any.whl
\ No newline at end of file
diff --git a/virtualenv.py b/virtualenv.py
index 4589dd9..c669b36 100755
--- a/virtualenv.py
+++ b/virtualenv.py
@@ -33,7 +33,7 @@ try:
 except ImportError:
     import configparser as ConfigParser
 
-__version__ = "14.0.3"
+__version__ = "14.0.5"
 virtualenv_version = __version__  # legacy
 
 if sys.version_info < (2, 6):
@@ -975,10 +975,15 @@ def change_prefix(filename, dst_prefix):
         prefixes.append(sys.base_prefix)
     prefixes = list(map(os.path.expanduser, prefixes))
     prefixes = list(map(os.path.abspath, prefixes))
-    prefixes = list(map(os.path.normcase, prefixes))
     # Check longer prefixes first so we don't split in the middle of a filename
     prefixes = sorted(prefixes, key=len, reverse=True)
-    filename = os.path.normcase(os.path.abspath(filename))
+    filename = os.path.abspath(filename)
+    # On Windows, make sure drive letter is uppercase
+    if is_win and filename[0] in 'abcdefghijklmnopqrstuvwxyz':
+        filename = filename[0].upper() + filename[1:]
+    for i, prefix in enumerate(prefixes):
+        if is_win and prefix[0] in 'abcdefghijklmnopqrstuvwxyz':
+            prefixes[i] = prefix[0].upper() + prefix[1:]
     for src_prefix in prefixes:
         if filename.startswith(src_prefix):
             _, relpath = filename.split(src_prefix, 1)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-virtualenv.git



More information about the Python-modules-commits mailing list