Commits

Hugo Lopes Tavares committed ff3d4c1

it is nothing about case-sensitive, the path_to_url semantics was wrong (it was based in pip.util.path_to_url2 function, that was wrong)

  • Participants
  • Parent commits bb1e8cc

Comments (0)

Files changed (1)

File tests/test_pip.py

     Convert a path to URI. The path will be made absolute and have quoted path parts.
     (adapted from pip.util)
     """
-    path = os.path.normcase(os.path.abspath(path))
+    path = os.path.normpath(os.path.abspath(path))
     drive, path = os.path.splitdrive(path)
     filepath = path.split(os.path.sep)
     url = '/'.join([urllib.quote(part) for part in filepath])