diff options
Diffstat (limited to 'numpy/distutils/misc_util.py')
-rw-r--r-- | numpy/distutils/misc_util.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index a693cb766..69393a151 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -379,12 +379,14 @@ def blue_text(s): def cyg2win32(path: str) -> str: """Convert a path from Cygwin-native to Windows-native. - Uses the cygpath utility (part of the Base install) to do the actual - conversion. Falls back to returning the original path if this fails. - - Handles the default ``/cygdrive`` mount prefix as well as the ``/proc/cygdrive`` - portable prefix, custom cygdrive prefixes such as ``/`` or ``/mnt``, and - absolute paths such as ``/usr/src/`` or ``/home/username`` + Uses the cygpath utility (part of the Base install) to do the + actual conversion. Falls back to returning the original path if + this fails. + + Handles the default ``/cygdrive`` mount prefix as well as the + ``/proc/cygdrive`` portable prefix, custom cygdrive prefixes such + as ``/`` or ``/mnt``, and absolute paths such as ``/usr/src/`` or + ``/home/username`` Parameters ---------- |